feat: enable volar ts plugin (#63)
* chore: enabled ts plugin * fix: require -> required
This commit is contained in:
1 parent
ac7dafc1b1
commit
c6c6722d38
3 files changed
+2
-7
No files matched your search
Vendored
+1
@@ -1,4 +1,5 @@
|
||||
{
|
||||
"volar.tsPlugin": true,
|
||||
"i18n-ally.localesPaths": "locales",
|
||||
"i18n-ally.keystyle": "nested",
|
||||
"i18n-ally.sortKeys": true,
|
||||
|
||||
@@ -6,7 +6,7 @@ import { defineProps } from 'vue'
|
||||
const props = defineProps({
|
||||
name: {
|
||||
type: String,
|
||||
require: true,
|
||||
required: true,
|
||||
},
|
||||
})
|
||||
|
||||
|
||||
Vendored
-6
@@ -4,12 +4,6 @@ declare interface Window {
|
||||
// extend the window
|
||||
}
|
||||
|
||||
declare module '*.vue' {
|
||||
import { ComponentOptions } from 'vue'
|
||||
const component: ComponentOptions
|
||||
export default component
|
||||
}
|
||||
|
||||
// with vite-plugin-md, markdowns can be treat as Vue components
|
||||
declare module '*.md' {
|
||||
import { ComponentOptions } from 'vue'
|
||||
|
||||
Reference in new issue
Block a user