This is a monorepo containing the JSON Forms Vue 2 Vuetify renderers and an example application.
See jsonforms-vuetify-renderers.netlify.app for the deployed example application.
See jsonforms.io and the main repository for more information about JSON Forms.
See the README of the Vue 2 Vuetify renderer set for detailed instructions on how to consume and use the JSON Forms Vue 2 Vuetify renderer set.
Use Node 12+
npm ci
npm run init
npm run build
npm run watch
npm run clean
npm run example:serve
npm run example:build
Recommendations:
npm run watch
combined with npm run example:serve
.npm run build
combined with npm run example:build
.
Then serve the built application from example/dist
with a web server of your choice, e.g. npx http-server example/dist
.When building for production with Vite, custom renderers will not work correctly if their entries are defined within the Single File Component - ie within the custom renderer itself.
To use custom renderers with Vite in production mode, define the entry for any custom renderer outside of the SFC that defines the renderer itself. For example, within the file that imports and registers the renderer. Example repo: https://github.com/yaffol/json-forms-vuetify-vite-seed
See also https://github.com/eclipsesource/jsonforms/issues/2077 and https://jsonforms.discourse.group/t/custom-renderers-not-rendering/1250