@@ -60,7 +60,7 @@ const devWebpackConfig = merge(baseWebpackConfig, { | |||
// copy custom static assets | |||
new CopyWebpackPlugin([ | |||
{ | |||
from: path.resolve(__dirname,'../public/static'), | |||
from: path.resolve(__dirname, '../static'), | |||
to: config.dev.assetsSubDirectory, | |||
ignore: ['.*'] | |||
} |
@@ -111,7 +111,7 @@ const webpackConfig = merge(baseWebpackConfig, { | |||
// copy custom static assets | |||
new CopyWebpackPlugin([ | |||
{ | |||
from: path.resolve(__dirname, '../public/static'), | |||
from: path.resolve(__dirname, '../static'), | |||
to: config.build.assetsSubDirectory, | |||
ignore: ['.*'] | |||
} |
@@ -8,7 +8,7 @@ module.exports = { | |||
dev: { | |||
// Paths | |||
assetsSubDirectory: 'public/static', | |||
assetsSubDirectory: 'static', | |||
assetsPublicPath: '/', | |||
proxyTable: { | |||
'/admin': { | |||
@@ -53,7 +53,7 @@ module.exports = { | |||
// Paths | |||
assetsRoot: path.resolve(__dirname, '../dist'), | |||
assetsSubDirectory: 'public/static', | |||
assetsSubDirectory: 'static', | |||
assetsPublicPath: '/', | |||
/** |
@@ -87,12 +87,12 @@ | |||
<script> | |||
import AMap from "AMap"; | |||
import njBround from "@/assets/js/njBround"; | |||
import njBround from "../../../static/njBround"; | |||
import dateLeft from './dateLeft' | |||
import dateRight from './dateRight' | |||
import {mapGetters} from "vuex"; | |||
import api from '@/api/main/index' | |||
import driver from '../../../public/static/driver.json' | |||
import driver from '../../../static/driver.json' | |||
export default { | |||
name: "command-container", |
@@ -166,7 +166,7 @@ | |||
<script> | |||
import AMap from "AMap"; | |||
import njBround from "@/assets/js/njBround"; | |||
import njBround from "../../../static/njBround"; | |||
import transverseBar from "./transverseBar"; | |||
import bar from "./bar"; | |||
import cake from "./cake"; |