mirror of
https://github.com/koush/scrypted.git
synced 2026-07-06 23:50:35 +01:00
Some changes to UI development environment
This commit is contained in:
@@ -2,9 +2,10 @@
|
||||
"name": "ui",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"serve": "vue-cli-service serve",
|
||||
"serve": "vue-cli-service serve --open",
|
||||
"build": "vue-cli-service build --dest ../fs/dist",
|
||||
"lint": "vue-cli-service lint"
|
||||
"lint": "vue-cli-service lint",
|
||||
"postinstall": "(cd ../../../server && npm install); (cd ../client && npm install)"
|
||||
},
|
||||
"dependencies": {
|
||||
"@fortawesome/fontawesome-free": "^5.15.4",
|
||||
|
||||
@@ -21,7 +21,7 @@ module.exports = {
|
||||
'resize-detector',
|
||||
'vuetify'
|
||||
],
|
||||
|
||||
|
||||
// https://cli.vuejs.org/config/#css-extract
|
||||
css: {
|
||||
extract: { ignoreOrder: true },
|
||||
@@ -35,7 +35,7 @@ module.exports = {
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
|
||||
parallel: false,
|
||||
|
||||
chainWebpack: config => {
|
||||
@@ -90,10 +90,11 @@ module.exports = {
|
||||
|
||||
runtimeCompiler: true,
|
||||
devServer: {
|
||||
port: 8081,
|
||||
disableHostCheck: true,
|
||||
// public: 'home.scrypted.app',
|
||||
host: 'localhost',
|
||||
https: true,
|
||||
port: 8081,
|
||||
progress: false,
|
||||
proxy: {
|
||||
'^/(login|logout|static|endpoint|whitelist|web)': proxyOpts,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user