Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit2c44882

Browse files
committed
Fix build - public path
1 parentd3d8645 commit2c44882

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

‎package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"test:unit":"vue-cli-service test:unit",
1111
"lint":"vue-cli-service lint",
1212
"prepublish":"npm run build",
13-
"publish":"git checkout gh-pages && rm -rf js && mv dist/* . && rm -r dist && git add . && git commit -m Publish && git push",
13+
"publish":"git checkout gh-pages && rm -rf jscss&& mv dist/* . && rm -r dist && git add . && git commit -m Publish && git push",
1414
"postpublish":"git checkout master"
1515
},
1616
"dependencies": {

‎vue.config.js‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
module.exports={
2+
publicPath:process.env.NODE_ENV==='production'
3+
?'/w3-how-to-with-vue/'
4+
:'/'
5+
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp