@@ -13,7 +13,7 @@
"baseUrl": ".",
"allowJs": true,
"paths": {
- "@/*": ["teach/src/*"]
+ "@/*": ["src/*"]
},
"types": ["vite/client"],
"skipLibCheck": true,
@@ -13,7 +13,7 @@ export default defineConfig(({ mode, command }: ConfigEnv): UserConfig => {
resolve: {
alias: {
'~': path.resolve(__dirname, './'),
- '@': path.resolve(__dirname, './src')
+ '@': path.resolve(__dirname, './teach/src')
extensions: ['.mjs', '.js', '.ts', '.jsx', '.tsx', '.json', '.vue']
@@ -62,7 +62,7 @@ export default defineConfig(({ mode, command }: ConfigEnv): UserConfig => {
'axios',
'@vueuse/core',
'echarts',
- // 'path-to-regexp',
+ // 'path-to-regexp',
// '@wangeditor/editor',
// '@wangeditor/editor-for-vue',
// '@vueup/vue-quill',