You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
我是用的npm run generate 生成静态文件,不过只有一个机器生成成功了。另一个机器会包错。估计是框架问题。
找到问题所在了,执行 npm run generate 的时候需要在另外一个终端执行 npm run dev
不过这种方式不能记住登录状态,刷新就得重新登陆。
已经改用成,npm run build
npm run start
后端, 原来放上去时, 那个yaml也要放到同级目录
前端site, 根据导出目录部署死活不成功,各种: Cannot resolve "~/assets/styles/main.scss" from
看网上 nuxt [需要放置到服务器上的代码只需要4个目录:.nuxt、static、nuxt.config.js、package.json] ,
后来直接前端site 整体 rsync到服务器上, npm start了
admin 配置,因为是同一个nginx 服务器下
module.exports = { lintOnSave: true, publicPath: "/admin/", // 增加 }; new Router({ base: 'admin', // 增加
The text was updated successfully, but these errors were encountered: