mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-21 21:25:11 +00:00
fix(templates): generate js templates
This commit is contained in:
parent
f24d9689c0
commit
2c59081c6c
@ -95,7 +95,7 @@ export const RenderPlugin = () => {
|
||||
default: JSON.stringify(value)
|
||||
}]))
|
||||
const vueCode = [
|
||||
'<script setup lang="ts">',
|
||||
'<script setup>',
|
||||
title && 'import { useMeta } from \'#app\'',
|
||||
`const props = defineProps(${props})`,
|
||||
title && 'useMeta(' + genObjectFromRawEntries([
|
||||
|
Loading…
Reference in New Issue
Block a user