Skip to content

Commit

Permalink
fix(templates): generate js templates
Browse files Browse the repository at this point in the history
  • Loading branch information
danielroe committed Mar 10, 2022
1 parent f24d968 commit 2c59081
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/ui-templates/lib/render.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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([
Expand Down

0 comments on commit 2c59081

Please sign in to comment.