We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 219f06b commit 88b3964Copy full SHA for 88b3964
build.sh
@@ -1,8 +1,12 @@
1
rm -rf tmp
2
rm -rf src/.vuepress/dist
3
-yarn build-local
4
-mv src/.vuepress/dist tmp
+
+yarn build:dev
5
6
+# Nesting dist into a subdirectory inside itself dist/v2
7
mv src/.vuepress/dist tmp
8
mkdir -p src/.vuepress/dist/v2
9
mv tmp/* src/.vuepress/dist/v2
10
11
+# Pulling up the top-level pages
12
cp src/.vuepress/dist/v2/*.html src/.vuepress/dist/
package.json
@@ -6,7 +6,7 @@
},
"scripts": {
"serve": "vuepress dev src",
- "build-local": "vuepress build src",
+ "build:dev": "vuepress build src",
"build": "./build.sh"
}
0 commit comments