@@ -33,7 +33,7 @@ deploy:
@npm run deploy
pub:
- ./node_modules/.bin/kp $(filter-out $@,$(MAKECMDGOALS))
+ npm run pub
pub-all:
npm run pub:all
@@ -3,6 +3,7 @@
"lang": "zh-CN",
"pages": {
"index": {
+ "lang": "zh-CN",
"titleSize": "46",
"theatreSize": "46",
"paraHeight": "1.8",
@@ -96,6 +97,7 @@
"lang": "en-US",
+ "lang": "en-US",
"titleSize": "50",
"theatreSize": "42",
"paraHeight": "1.6",
@@ -179,7 +179,7 @@
<p><%= 4 ></p>
<router-link
active-class="active"
- to="/guide/design"
+ to="/<%= lang >/guide/design"
exact><%= 5 >
</router-link>
</div>
@@ -191,7 +191,7 @@
<p><%= 7 ></p>
- to="/component/layout"
+ to="/<%= lang >/component/layout"
@@ -203,7 +203,7 @@
<p><%= 9 ></p>
- to="/resource"
+ to="/<%= lang >/resource"