fix linting errors

This commit is contained in:
MarcZierle 2022-01-11 21:51:29 +01:00
parent 33f3b825bf
commit d473d09a39
2 changed files with 49 additions and 46 deletions

5
jsconfig.json Normal file
View File

@ -0,0 +1,5 @@
{
"include": [
"./src/**/*"
]
}

View File

@ -2,11 +2,10 @@
<div class="hello">
<h1>{{ msg }}</h1>
<p>
Check me out, BOY!
Check me out, BOY!!!
</p>
<n-button type="primary" @click="showModal = true">Start Me up</n-button>
<n-button type="primary" @click="showModal = true">Open Modal</n-button>
<n-modal
v-model:show="showModal"
:mask-closable="false"
@ -26,7 +25,7 @@
import { useMessage } from 'naive-ui'
export default {
name: "HelloWorld",
name: 'HelloWorld',
props: {
msg: String,
},
@ -45,9 +44,8 @@ export default {
this.message.success('Cancel')
this.showModalRef = false
}
}
};
}
</script>
<!-- Add "scoped" attribute to limit CSS to this component only -->