There was an error while loading. Please reload this page.
1 parent 4a4af2c commit 3f59d4aCopy full SHA for 3f59d4a
src/internal-context/load.ts
@@ -125,7 +125,7 @@ const createInternalContext = async (moduleOptions: ModuleOptions, nuxt = useNux
125
withSrcDir(`{A,a}pp${sfcExtensions}`),
126
withSrcDir(`{E,e}rror${sfcExtensions}`),
127
withSrcDir(`app.config${defaultExtensions}`),
128
- !nuxtOptions.ssr && nuxtOptions.spaLoadingTemplate !== false && withSrcDir(typeof nuxtOptions.spaLoadingTemplate === 'string' ? nuxtOptions.spaLoadingTemplate : 'app/spa-loading-template.html'),
+ !nuxtOptions.ssr && nuxtOptions.spaLoadingTemplate !== false && r(typeof nuxtOptions.spaLoadingTemplate === 'string' ? nuxtOptions.spaLoadingTemplate : 'app/spa-loading-template.html'),
129
].filter((p): p is string => Boolean(p)),
130
},
131
0 commit comments