nelson
3 years ago
6 changed files with 43 additions and 8 deletions
@ -0,0 +1,17 @@ |
|||
module.exports = { |
|||
root: true, |
|||
parserOptions: { |
|||
sourceType: "module" |
|||
}, |
|||
parser: "vue-eslint-parser", |
|||
extends: ["plugin:vue/vue3-essential","plugin:vue/vue3-strongly-recommended","plugin:vue/vue3-recommended"], |
|||
env: { |
|||
browser: true, |
|||
node: true, |
|||
es6: true |
|||
}, |
|||
rules: { |
|||
'no-console': 'off', |
|||
'comma-dangle': [2,'never'] |
|||
} |
|||
} |
@ -1,9 +1,9 @@ |
|||
import { createApp } from 'vue' |
|||
import App from './App.vue' |
|||
import App from '@/App.vue' |
|||
|
|||
// @ts-ignore
|
|||
import router from './router/index' |
|||
import router from '@/router/index' |
|||
// @ts-ignore
|
|||
import {store,key} from './store/index' |
|||
import {store,key} from '@/store/index' |
|||
|
|||
createApp(App).use(router).use(store,key).mount('#app') |
|||
|
Loading…
Reference in new issue