|
|
@@ -10,6 +10,16 @@ export default ({ mode }) =>
|
|
|
defineConfig({
|
|
|
base: loadEnv(mode, process.cwd()).VITE_PUBLIC_DIR,
|
|
|
plugins: [vue()],
|
|
|
+ build: {
|
|
|
+ rollupOptions: {
|
|
|
+ // 配置多页面
|
|
|
+ input: {
|
|
|
+ index: './index.html',
|
|
|
+ criminal: './criminal.html',
|
|
|
+ fire: './fire.html',
|
|
|
+ },
|
|
|
+ },
|
|
|
+ },
|
|
|
server: {
|
|
|
https: Number(loadEnv(mode, process.cwd()).VITE_USE_HTTPS) == 1,
|
|
|
host: true,
|