-
Notifications
You must be signed in to change notification settings - Fork 190
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
nuxt-ssr 如果修改了srcDir配置,则无法正确打包static目录 #180
Comments
同时请问,是否支持自己写插件还是必须要用提交到官方仓库的插件?是否有插件开发的相关文档 |
默认情况下 .nuxt 和 static 为相同层级,看起来要解决这个问题还需要读取下用户的nuxt.config文件 |
第三方插件不需要都提交到官方仓库,插件最终只要能通过 npm 访问到即可,我们可以出一个简单的插件开发文档 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
nuxt-ssr项目,我在nuxt.config.js指定了配置 srcDir:'src',这会导致static目录在src下层,通过查看cloudbase-nuxt-builder的源码,发现会在entry下查找 .nuxt 和 static,实际上,这两个目录不是一个层级,导致找不到static
The text was updated successfully, but these errors were encountered: