Browse Source

Přesun vue (zatím) do treenodů

pull/65/head
Jonas Havelka 2 weeks ago
parent
commit
9ca5967261
  1. 2
      make/push_compiled_vue_to_test
  2. 4
      vue_frontend/vue.config.js

2
make/push_compiled_vue_to_test

@ -4,7 +4,7 @@ set -exuo pipefail
. make/lib.sh
scp vue_frontend/webpack-stats.json "$GIMLI_LOGIN:$TESTWEB/vue_frontend/"
rsync -ave ssh seminar/static/seminar/vue "$GIMLI_LOGIN:$TESTWEB/seminar/static/seminar/"
rsync -ave ssh treenode/static/treenode/vue "$GIMLI_LOGIN:$TESTWEB/treenode/static/treenode/"
ssh "$GIMLI_LOGIN" "
set -euxo pipefail
cd $TESTWEB

4
vue_frontend/vue.config.js

@ -17,9 +17,9 @@ module.exports = {
filenameHashing: false,
productionSourceMap: true,
publicPath: process.env.NODE_ENV === 'production'
? '/static/seminar/vue/'
? '/static/treenode/vue/'
: 'http://localhost:8080/',
outputDir: '../seminar/static/seminar/vue/',
outputDir: '../treenode/static/treenode/vue/',
chainWebpack: config => {

Loading…
Cancel
Save