Compare commits
2 Commits
3d83ad7e47
...
fe33c529fd
| Author | SHA1 | Date | |
|---|---|---|---|
| fe33c529fd | |||
| d66951c003 |
@ -39,7 +39,8 @@ export default defineConfig(({ mode, command }) => {
|
|||||||
// 设置路径
|
// 设置路径
|
||||||
'~': path.resolve(__dirname, './'),
|
'~': path.resolve(__dirname, './'),
|
||||||
// 设置别名
|
// 设置别名
|
||||||
'@': path.resolve(__dirname, './src')
|
'@': path.resolve(__dirname, './src'),
|
||||||
|
'@cmvr/iot-common': path.resolve(__dirname, '../cmvr-iot-common/dist')
|
||||||
},
|
},
|
||||||
dedupe: ['vue', 'vue-router', 'pinia', 'element-plus', '@element-plus/icons-vue'],
|
dedupe: ['vue', 'vue-router', 'pinia', 'element-plus', '@element-plus/icons-vue'],
|
||||||
// https://cn.vitejs.dev/config/#resolve-extensions
|
// https://cn.vitejs.dev/config/#resolve-extensions
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user