我有一个动荡不安的web应用程序,我对GitHub工作流不太熟悉。我有一个dotenv文件,它存储项目中另一个文件所需的令牌。
对于部署,我在Netlify:if cd flutter; then git pull && cd ..; else git clone https://github.com/flutter/flutter.git; fi && flutter/bin/flutter config --enable-web && flutter/bin/flutter build web --release中使用了这个构建命令
我选择使
我在Netlify构建日志上得到了这个错误:
2:24:32 AM: error Generating JavaScript bundles failed
2:24:32 AM: Can't resolve '@layout/PageContainer' in '/opt/build/repo/src/pages/how-it-works'
2:24:32 AM: If you're trying to use a package make sure that '@layout/PageContainer' is installe
我刚刚部署了我的第一个项目(Ruby on Rails后端到Heroku,VueJS前端到Netlify)。我已经成功地让主页出现,并让Netlify与我的Heroku数据库通信,但我的前端链接都断开了,并显示了404错误。我有一个似乎可以工作的index.html文件,因为我可以成功地显示我的主页,但每当我尝试访问链接(例如,在我的导航栏上)时,我总是得到一个404错误。
通过遵循官方视频教程,我一直在学习如何使用顺风css,我只是想尝试将站点示例部署到Netlify,看看它是否可以使用拖放功能。 这意味着获取整个项目文件夹并将其转储到netlify。这通常适用于vanilla html css js站点,但由于某种原因,我得到了错误Page Not Found Looks like you've followed a broken link or entered a URL that doesn't exist on this site. 这是项目结构的外观: ? 我做错了什么?在build文件夹中有另一个名为tailwind.css
我在这里发现了与我相同/相似的问题:Create a new static page using blogdown with same hugo theme as main site,但我不能理解解决方案是什么,因为似乎没有明确的解决方案,或者我只是没有抓住它。 我是一个绝对的初学者。我正在测试将生成的代码移动到netlify以生成网站的过程。 我可以将public/post/2020-12-01-r-rmarkdown/index.html文件放到github的public/文件夹中,并在netlify上生成示例站点,例如: https://github.com/hjhjonas/blog