File tree Expand file tree Collapse file tree 5 files changed +1555
-279
lines changed Expand file tree Collapse file tree 5 files changed +1555
-279
lines changed Original file line number Diff line number Diff line change 136
136
npm run preview
137
137
```
138
138
139
+ 若想直接以打开html文件的方式运行,请执行以下命令进行打包。打包完成后在dist目录中直接打开index.html即可。
140
+
141
+ ``` bash
142
+ pnpm build:file
143
+ or
144
+ npm run build:file
145
+ ```
146
+
139
147
> 项目思路来源于 < https://github.com/moshang-xc/lottery >
140
148
141
149
## License
Original file line number Diff line number Diff line change 8
8
"dev" : " vite --host 0.0.0.0" ,
9
9
"build" : " vue-tsc --noEmit && vite build" ,
10
10
"build:pre" : " vue-tsc --noEmit && vite build --mode prebuild" ,
11
+ "build:file" : " vue-tsc --noEmit && vite build --mode file" ,
11
12
"test" : " vitest" ,
12
13
"test:ui" : " vitest --ui" ,
13
14
"preview" : " vite preview" ,
47
48
"@types/three" : " ^0.166.0" ,
48
49
"@typescript-eslint/eslint-plugin" : " ^8.16.0" ,
49
50
"@typescript-eslint/parser" : " ^8.16.0" ,
51
+ "@vitejs/plugin-legacy" : " ^6.0.0" ,
50
52
"@vitejs/plugin-vue" : " ^5.2.0" ,
51
53
"@vitest/ui" : " ^2.1.5" ,
52
54
"@vue/test-utils" : " ^2.4.6" ,
You can’t perform that action at this time.
0 commit comments