Add --host parameter to vite dev-server

This commit is contained in:
Lukas Rieger (Blue) 2023-01-01 12:19:47 +01:00
parent cd385b4ba3
commit b60984221c
No known key found for this signature in database
GPG Key ID: 2D09EC5ED2687FF2

View File

@ -3,7 +3,7 @@
"version": "0.0.0", "version": "0.0.0",
"private": true, "private": true,
"scripts": { "scripts": {
"dev": "vite", "dev": "vite --host",
"build": "vite build", "build": "vite build",
"preview": "vite preview", "preview": "vite preview",
"lint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs --fix --ignore-path .gitignore" "lint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs --fix --ignore-path .gitignore"