mirror of
https://gitee.com/mirrors/AllinSSL.git
synced 2026-03-27 07:53:23 +08:00
【初始化】前端工程项目
This commit is contained in:
17
frontend/packages/naive-ui/vite.config.ts
Normal file
17
frontend/packages/naive-ui/vite.config.ts
Normal file
@@ -0,0 +1,17 @@
|
||||
import { defineConfig } from 'vite'
|
||||
import vue from '@vitejs/plugin-vue'
|
||||
import vueJsx from '@vitejs/plugin-vue-jsx'
|
||||
import { resolve } from 'path'
|
||||
|
||||
export default defineConfig({
|
||||
plugins: [vue(), vueJsx()],
|
||||
resolve: {
|
||||
alias: {
|
||||
'@': resolve(__dirname, './src'),
|
||||
'@hooks': resolve(__dirname, './src/hooks'),
|
||||
},
|
||||
},
|
||||
server: {
|
||||
port: 3000,
|
||||
},
|
||||
})
|
||||
Reference in New Issue
Block a user