mirror of
https://github.com/leafOfTree/vim-vue-plugin.git
synced 2026-11-01 01:56:21 +08:00
Name cases for scenarios also in vim-svelte-plugin as shared-*, adding one for multiline tags. test/shared.sh lists shared cases in only one of the plugins, as a warning in a separate job on GitHub Actions.
25 lines
274 B
Vue
25 lines
274 B
Vue
<template>
|
|
<div
|
|
class="a"
|
|
>
|
|
<input
|
|
type="text"
|
|
>
|
|
<p :class="{ a: b }">x</p>
|
|
</div>
|
|
</template>
|
|
|
|
<script>
|
|
export default {
|
|
data() {
|
|
return { a: 1 }
|
|
},
|
|
}
|
|
</script>
|
|
|
|
<style>
|
|
p {
|
|
color: red;
|
|
}
|
|
</style>
|