发布于 2018-11-16 02:40:50
dist文件夹包含html和js文件,然后您可以使用它部署到服务器并作为静态站点运行。
发布于 2019-03-07 19:51:28
Nuxt.js允许您将dist文件上传到CDN以获得最佳性能,只需将publicPath设置为CDN即可。
export default {
build: {
publicPath: 'https://cdn.nuxtjs.org'
}
}然后,在启动nuxt构建时,将.nuxt/dist/client目录的内容上载到CDN中。
发布于 2019-10-23 08:29:57
nuxt/dist文件夹中的内容是在生产中要提供的内容。它包含要向用户提供服务的优化代码。
https://stackoverflow.com/questions/53330655
复制相似问题