npm run dev:all :)

This commit is contained in:
草鞋没号
2020-08-16 20:42:52 +08:00
parent 73071609b6
commit 8ceefba9a1
23 changed files with 1843 additions and 45 deletions

15
vite.config.ts Normal file
View File

@@ -0,0 +1,15 @@
/**
* 参考链接: https://github.com/vitejs/vite/blob/master/src/node/config.ts
*/
import { join } from 'path'
import { UserConfig } from 'vite'
import dotenv from 'dotenv'
dotenv.config({ path: join(__dirname, '.env') })
const config: UserConfig = {
root: join(__dirname, 'src/render'),
port: +process.env.PORT,
}
export default config