fix: components template path (#447)

This commit is contained in:
Ahad Birang 2021-08-16 13:38:47 +04:30 committed by GitHub
parent 052edd220d
commit d3582bf1e8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -67,7 +67,7 @@ export default defineNuxtModule({
app.templates.push({
filename: 'components.mjs',
src: resolve(distDir, 'pages/runtime/components.tmpl.mjs'),
src: resolve(distDir, 'components/runtime/components.tmpl.mjs'),
options: { components }
})