Skip to content

Commit ddf3896

Browse files
Update Project Version
1 parent eae31a2 commit ddf3896

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
.DS_Store
22
node_modules
3-
./dist
43

54
# local env files
65
.env.local
@@ -15,6 +14,7 @@ pnpm-debug.log*
1514
# Editor directories and files
1615
.idea
1716
.vscode
17+
./dist/
1818
*.suo
1919
*.ntvs*
2020
*.njsproj

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "vue-cesium-example",
3-
"version": "0.1.0",
3+
"version": "0.0.1",
44
"private": true,
55
"scripts": {
66
"serve": "vue-cli-service serve",

vue.config.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ const CopyWebpackPlugin = require("copy-webpack-plugin");
33
const webpack = require("webpack");
44

55
module.exports = {
6+
publicPath:
7+
process.env.NODE_ENV === "production" ? "/\n" + "vue-cesium-example/" : "/",
68
configureWebpack: {
79
plugins: [
810
// Copy Cesium Assets, Widgets, and Workers to a static directory

0 commit comments

Comments
 (0)