docs: pages

This commit is contained in:
wanchun 2023-04-10 15:12:01 +08:00
parent dcf885b271
commit 155ab33cc4
2 changed files with 2 additions and 2 deletions

View File

@ -7,7 +7,7 @@ import { backToTopPlugin } from '@vuepress/plugin-back-to-top'
import { navbar, sidebar } from './configs';
export default defineUserConfig({
base: '/',
base: process.env.BASE ? `/${process.env.BASE}/` : '/',
head: [
['link', { rel: 'manifest', href: '/manifest.webmanifest' }],

View File

@ -15,7 +15,7 @@
"clean": "rm -rf ./node_modules & rm -rf packages/**/node_modules & rm -rf packages/**/.cache",
"docs:dev": "vuepress dev docs --clean-cache",
"docs:build": "vuepress build docs --clean-cache",
"docs:build-pages": "BASE=/fes.js/ vuepress build docs --clean-cache",
"docs:build-pages": "BASE=fes.js vuepress build docs --clean-cache",
"test": "fes test",
"lint": "eslint -c ./.eslintrc.js --ignore-pattern='templates' --ext .js,.jsx,.vue,.ts",
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s"