vue-data-ui-cli
Version:
A CLI tool to generate Vue Data UI chart component boilerplates
42 lines (27 loc) • 1.33 kB
Markdown
# Vue Data UI CLI
[](https://github.com/graphieros/vue-data-ui-cli)
[](https://github.com/graphieros/vue-data-ui-cli/issues)
[](https://github.com/graphieros/vue-data-ui-cli?tab=MIT-1-ov-file#readme)
[](https://github.com/graphieros/vue-data-ui-cli)
A CLI tool to generate Vue Data UI chart component boilerplates.
## Installation
```bash
npm i -g vue-data-ui-cli
```
## Usage
Run the CLI command:
```bash
vdui-cli
```

https://github.com/user-attachments/assets/2554de06-cf8f-460e-bcd3-addd7291151c
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.
## Vue Data UI documentation
Check out the [official documentation website](https://vue-data-ui.graphieros.com/)