我有一个带有一些模块/依赖项的Nuxt 2.4.5应用程序设置。在universal
模式下生成页面时,尝试生成页面时出现错误:$nuxt is not defined
:
插件:
plugins: [
{ src: '@/plugins/vue-custom-filters', mode: 'client' },
{ src: '@/plugins/vue-moment', mode: 'client' },
{ src: '@/plugins/vue-carousel', mode: 'client' },
{ src: '@/plugins/ga', mode: 'client' }
]