fixed development server webpack path

This commit is contained in:
vabene1111 2021-10-31 13:21:25 +01:00
parent 5badb305ae
commit f720c5c094
10 changed files with 69 additions and 10 deletions

View File

@ -4,7 +4,13 @@ import i18n from '@/i18n'
Vue.config.productionTip = false
export default __webpack_public_path__ = localStorage.STATIC_URL + 'vue/' // eslint-disable-line
// TODO move this and other default stuff to centralized JS file (verify nothing breaks)
let publicPath = localStorage.STATIC_URL + 'vue/'
if (process.env.NODE_ENV === 'development') {
publicPath = 'http://localhost:8080/'
}
export default __webpack_public_path__ = publicPath // eslint-disable-line
new Vue({
i18n,

View File

@ -4,7 +4,13 @@ import i18n from '@/i18n'
Vue.config.productionTip = false
export default __webpack_public_path__ = localStorage.STATIC_URL + 'vue/' // eslint-disable-line
// TODO move this and other default stuff to centralized JS file (verify nothing breaks)
let publicPath = localStorage.STATIC_URL + 'vue/'
if (process.env.NODE_ENV === 'development') {
publicPath = 'http://localhost:8080/'
}
export default __webpack_public_path__ = publicPath // eslint-disable-line
new Vue({
i18n,

View File

@ -4,7 +4,13 @@ import i18n from '@/i18n'
Vue.config.productionTip = false
export default __webpack_public_path__ = localStorage.STATIC_URL + 'vue/' // eslint-disable-line
// TODO move this and other default stuff to centralized JS file (verify nothing breaks)
let publicPath = localStorage.STATIC_URL + 'vue/'
if (process.env.NODE_ENV === 'development') {
publicPath = 'http://localhost:8080/'
}
export default __webpack_public_path__ = publicPath // eslint-disable-line
new Vue({
i18n,

View File

@ -4,7 +4,12 @@ import i18n from '@/i18n'
Vue.config.productionTip = false
export default __webpack_public_path__ = localStorage.STATIC_URL + 'vue/' // eslint-disable-line
// TODO move this and other default stuff to centralized JS file (verify nothing breaks)
let publicPath = localStorage.STATIC_URL + 'vue/'
if (process.env.NODE_ENV === 'development') {
publicPath = 'http://localhost:8080/'
}
export default __webpack_public_path__ = publicPath // eslint-disable-line
new Vue({
i18n,

View File

@ -4,7 +4,13 @@ import i18n from '@/i18n'
Vue.config.productionTip = false
export default __webpack_public_path__ = localStorage.STATIC_URL + 'vue/' // eslint-disable-line
// TODO move this and other default stuff to centralized JS file (verify nothing breaks)
let publicPath = localStorage.STATIC_URL + 'vue/'
if (process.env.NODE_ENV === 'development') {
publicPath = 'http://localhost:8080/'
}
export default __webpack_public_path__ = publicPath // eslint-disable-line
new Vue({
i18n,

View File

@ -4,7 +4,13 @@ import i18n from "@/i18n";
Vue.config.productionTip = false
export default __webpack_public_path__ = localStorage.STATIC_URL + 'vue/' // eslint-disable-line
// TODO move this and other default stuff to centralized JS file (verify nothing breaks)
let publicPath = localStorage.STATIC_URL + 'vue/'
if (process.env.NODE_ENV === 'development') {
publicPath = 'http://localhost:8080/'
}
export default __webpack_public_path__ = publicPath // eslint-disable-line
new Vue({
i18n,

View File

@ -4,7 +4,13 @@ import i18n from '@/i18n'
Vue.config.productionTip = false
export default __webpack_public_path__ = localStorage.STATIC_URL + 'vue/' // eslint-disable-line
// TODO move this and other default stuff to centralized JS file (verify nothing breaks)
let publicPath = localStorage.STATIC_URL + 'vue/'
if (process.env.NODE_ENV === 'development') {
publicPath = 'http://localhost:8080/'
}
export default __webpack_public_path__ = publicPath // eslint-disable-line
new Vue({
i18n,

View File

@ -4,7 +4,13 @@ import i18n from '@/i18n'
Vue.config.productionTip = false
export default __webpack_public_path__ = localStorage.STATIC_URL + 'vue/' // eslint-disable-line
// TODO move this and other default stuff to centralized JS file (verify nothing breaks)
let publicPath = localStorage.STATIC_URL + 'vue/'
if (process.env.NODE_ENV === 'development') {
publicPath = 'http://localhost:8080/'
}
export default __webpack_public_path__ = publicPath // eslint-disable-line
new Vue({
i18n,

View File

@ -4,7 +4,13 @@ import i18n from "@/i18n";
Vue.config.productionTip = false
export default __webpack_public_path__ = localStorage.STATIC_URL + 'vue/' // eslint-disable-line
// TODO move this and other default stuff to centralized JS file (verify nothing breaks)
let publicPath = localStorage.STATIC_URL + 'vue/'
if (process.env.NODE_ENV === 'development') {
publicPath = 'http://localhost:8080/'
}
export default __webpack_public_path__ = publicPath // eslint-disable-line
new Vue({
i18n,

View File

@ -4,7 +4,13 @@ import i18n from '@/i18n'
Vue.config.productionTip = false
export default __webpack_public_path__ = localStorage.STATIC_URL + 'vue/' // eslint-disable-line
// TODO move this and other default stuff to centralized JS file (verify nothing breaks)
let publicPath = localStorage.STATIC_URL + 'vue/'
if (process.env.NODE_ENV === 'development') {
publicPath = 'http://localhost:8080/'
}
export default __webpack_public_path__ = publicPath // eslint-disable-line
new Vue({
i18n,