mirror of https://github.com/vuejs/core.git
workflow(sfc-playground): init custom formatter when selecting new version (#9958)
close #9957
This commit is contained in:
parent
d94d8d4bff
commit
a47fb45c50
|
|
@ -137,6 +137,12 @@ onMounted(() => {
|
|||
:autoResize="true"
|
||||
:sfcOptions="sfcOptions"
|
||||
:clearConsole="false"
|
||||
:preview-options="{
|
||||
customCode: {
|
||||
importCode: `import { initCustomFormatter } from 'vue'`,
|
||||
useCode: `initCustomFormatter()`
|
||||
}
|
||||
}"
|
||||
/>
|
||||
</template>
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue