A CLI tool to generate Vue Data UI chart component boilerplates.
npm i -g vue-data-ui-cli
Run the CLI command:
vdui-cli
You will be prompted for the following:
- Select a Vue Data UI component
- Use computed or ref for the dataset
- Use computed or ref for the config
- Use TypeScript or not
- The name of your Vue component
- The directory to create the component
The tool will then create a Vue file containing the boilerplate chart component, with a sample dataset for immediate testing.
Check out the official documentation website