Skip to content

Commit 81d406e

Browse files
authored
Merge pull request #29 from CompPsyUnion/develop
fix: fix issue #3, #6
2 parents e90994f + 9e05c78 commit 81d406e

10 files changed

Lines changed: 823 additions & 227 deletions

File tree

config/vite.config.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ import { fileURLToPath, URL } from 'node:url';
77
export default defineConfig(({ mode }) => ({
88
base: mode === 'production' ? '/debate-timer/' : '/',
99
plugins: [vue(), tailwindcss()],
10+
server: {
11+
host: true,
12+
},
1013
css: {
1114
postcss: './config/postcss.config.js'
1215
},

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"version": "0.0.0",
55
"type": "module",
66
"scripts": {
7-
"dev": "vite --config config/vite.config.ts",
7+
"dev": "vite --config config/vite.config.ts --host",
88
"build": "vue-tsc --project config/tsconfig.json && vite build --config config/vite.config.ts",
99
"start": "vite preview --config config/vite.config.ts",
1010
"preview": "vite preview --config config/vite.config.ts",

0 commit comments

Comments
 (0)