Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

装了vlike插件后打包出错 #2651

Closed
1 task
zhoufanglu opened this issue Oct 9, 2020 · 0 comments
Closed
1 task

装了vlike插件后打包出错 #2651

zhoufanglu opened this issue Oct 9, 2020 · 0 comments

Comments

@zhoufanglu
Copy link

zhoufanglu commented Oct 9, 2020

  • I confirm that this is an issue rather than a question.

Bug report

Steps to reproduce

What is expected?

期望打包成功

What is actually happening?

装了vlike插件后打包失败了,但是本地dev是可以运行的。
报错内容如下

error Error rendering /: false
undefined
error Error rendering /exampleMenu1/exampleSubMenu1-a/: false

deploy.sh file

#!/usr/bin/env sh

# 确保脚本抛出遇到的错误
set -e

# 生成静态文件
npm run docs:build

# 进入生成的文件夹
cd docs/.vuepress/dist

# 如果是发布到自定义域名
# echo 'www.example.com' > CNAME

git init
git add -A
git commit -m 'deploy'

# 如果发布到 https://<USERNAME>.github.io
# git push -f git@github.com:<USERNAME>/<USERNAME>.github.io.git master

# 如果发布到 https://<USERNAME>.github.io/<REPO>
# git push -f git@github.com:<USERNAME>/<REPO>.git master:gh-pages
 git push -f git@github.com:zhoufanglu/vuepressBlog.git master:gh-pages


cd -
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant