seo引擎优化
解决方案二:服务端渲染
Nuxt.js 项目上线流程
1. npm run build
2. 将打包完成的文件单独拷贝出来
nuxt.config
.nuxt
package.json
static
3. 将4个文件拷贝到服务器上,服务器安装node环境
npm install
4. 运行npm run start
5. nginx设置代理
1、第一种解决办法,按照顺序执行下面的步骤
1、npm audit fix 2、npm audit fix --force 3、npm audit
1:首先 先下载依赖 npm i ;
2:npm build (先构建) ;
3:npm start (执行这个命令回去找build 出来的 .nuxt 文件);