我尝试使用Netlify部署我的vue项目,但是部署失败,并给了我“找不到页面”的信息。
github代表:https://github.com/njavig/kiosk.git
netlify网址:https://sleepy-euclid-3e3e88.netlify.com/
我已经尝试过了:
https://github.com/netlify/build-image#testing-locally
我尝试在本地构建后运行它。
其后:https://cli.vuejs.org/guide/deployment.html#netlify
构建设置
Repository
github.com/njavig/kiosk
Base directory
Not set
Build command
npm run build
Publish directory
dist
Deploy log visibility
Logs are public
部署通知
Add deploy notifications to git commits when deploy starts
Add rich deploy details to git commits when deploy starts
Add deploy notifications to git commits when deploy succeeds
Add rich deploy details to git commits when deploy succeeds
Add deploy notifications to git commits when deploy fails
Add rich deploy details to git commits when deploy fails
我看过https://www.netlify.com/docs/build-gotchas/本文档,但不知道我要怎么办。
老实说,我尝试了GitHub Pages,Amazon S3和Netlify以及Heroku,但都失败了。我遵循了一些教程文档和视频。是的,我应该承认我没有使用git的丰富经验,但是似乎并没有那么难,但是我不知道为什么我无法使其工作。