ソースを参照

指挥大屏

master
huxinglu 4年前
コミット
f009172a04
8個のファイルの変更7行の追加7行の削除
  1. +1
    -1
      build/webpack.dev.conf.js
  2. +1
    -1
      build/webpack.prod.conf.js
  3. +2
    -2
      config/index.js
  4. +2
    -2
      src/views/command/index.vue
  5. +1
    -1
      src/views/main/index.vue
  6. +0
    -0
      static/.gitkeep
  7. +0
    -0
      static/driver.json
  8. +0
    -0
      static/njBround.js

+ 1
- 1
build/webpack.dev.conf.js ファイルの表示

@@ -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: ['.*']
}

+ 1
- 1
build/webpack.prod.conf.js ファイルの表示

@@ -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: ['.*']
}

+ 2
- 2
config/index.js ファイルの表示

@@ -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: '/',

/**

+ 2
- 2
src/views/command/index.vue ファイルの表示

@@ -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",

+ 1
- 1
src/views/main/index.vue ファイルの表示

@@ -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";

public/static/.gitkeep → static/.gitkeep ファイルの表示


public/static/driver.json → static/driver.json ファイルの表示


src/assets/js/njBround.js → static/njBround.js ファイルの表示


読み込み中…
キャンセル
保存