File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -86,7 +86,7 @@ ${vueCode?.trim()}
86
86
const scriptContent = fetchCode ( vueCode , 'scriptContent' ) ;
87
87
let jsCode = ( await tsToJs ( scriptContent ) ) ?. trim ( ) ;
88
88
jsCode = jsCode
89
- ? `<script>
89
+ ? `<script setup >
90
90
${ jsCode }
91
91
</script>`
92
92
: '' ;
@@ -139,13 +139,13 @@ import ColorChunk from '@/components/ColorChunk';
139
139
import TokenTable from '@/components/TokenTable';
140
140
import ComponentTokenTable from '@/components/ComponentTokenTable';
141
141
142
- export default {
142
+ export default {
143
143
components: {
144
144
ColorChunk,
145
- TokenTable,
145
+ TokenTable,
146
146
ComponentTokenTable
147
- },
148
- pageData: ${ JSON . stringify ( pageData ) }
147
+ },
148
+ pageData: ${ JSON . stringify ( pageData ) }
149
149
}
150
150
</script>
151
151
${ fetchCode ( content , 'style' ) }
You can’t perform that action at this time.
0 commit comments