mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-23 14:15:13 +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>
|
||||
<h1>The Dog</h1>
|
||||
<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">
|
||||
Woooooooooooof
|
||||
</p>
|
||||
|
@ -2,7 +2,8 @@
|
||||
<div>
|
||||
<h1>The Cat</h1>
|
||||
<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">
|
||||
Meowwwwwwww
|
||||
</p>
|
||||
|
4
test/fixtures/basic/pages/store.vue
vendored
4
test/fixtures/basic/pages/store.vue
vendored
@ -8,7 +8,9 @@
|
||||
<br>
|
||||
<h4>foo/bab/getBabVal: {{ getBabVal }}</h4>
|
||||
<br>
|
||||
<button @click="$store.commit('increment')">+1</button>
|
||||
<button @click="$store.commit('increment')">
|
||||
+1
|
||||
</button>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user