import { createApp } from 'vue' import { WattJsonEditor } from 'wattpc-ui' createApp().use(WattJsonEditor)
<template> <div> <watt-json-editor v-model="formState.json" /> </div> </template> <script setup> import { reactive, watch } from 'vue' const formState = reactive({ json: {name: 90} }) </script>