mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-27 08:02:01 +00:00
fix(eslint): amp tags not support pascal case
[skip release]
This commit is contained in:
parent
add80004ba
commit
6a4808f576
@ -2,7 +2,8 @@
|
|||||||
<div>
|
<div>
|
||||||
<h1>The Dog</h1>
|
<h1>The Dog</h1>
|
||||||
<Byline author="Meow Meow Fuzzyface" />
|
<Byline author="Meow Meow Fuzzyface" />
|
||||||
<AmpImg src="/dog.jpg" width="470" height="350" layout="responsive" alt="Woof" />
|
<!-- eslint-disable-next-line vue/component-name-in-template-casing -->
|
||||||
|
<amp-img src="/dog.jpg" width="470" height="350" layout="responsive" alt="Woof" />
|
||||||
<p class="caption">
|
<p class="caption">
|
||||||
Woooooooooooof
|
Woooooooooooof
|
||||||
</p>
|
</p>
|
||||||
|
@ -2,7 +2,8 @@
|
|||||||
<div>
|
<div>
|
||||||
<h1>The Cat</h1>
|
<h1>The Cat</h1>
|
||||||
<Byline author="Dan Zajdband" />
|
<Byline author="Dan Zajdband" />
|
||||||
<AmpImg src="/cat.jpg" width="470" height="350" layout="responsive" alt="Meow" />
|
<!-- eslint-disable-next-line vue/component-name-in-template-casing -->
|
||||||
|
<amp-img src="/cat.jpg" width="470" height="350" layout="responsive" alt="Meow" />
|
||||||
<p class="caption">
|
<p class="caption">
|
||||||
Meowwwwwwww
|
Meowwwwwwww
|
||||||
</p>
|
</p>
|
||||||
|
4
test/fixtures/basic/pages/store.vue
vendored
4
test/fixtures/basic/pages/store.vue
vendored
@ -8,7 +8,9 @@
|
|||||||
<br>
|
<br>
|
||||||
<h4>foo/bab/getBabVal: {{ getBabVal }}</h4>
|
<h4>foo/bab/getBabVal: {{ getBabVal }}</h4>
|
||||||
<br>
|
<br>
|
||||||
<button @click="$store.commit('increment')">+1</button>
|
<button @click="$store.commit('increment')">
|
||||||
|
+1
|
||||||
|
</button>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user