UNPKG

vue-data-ui-cli

Version:

A CLI tool to generate Vue Data UI chart component boilerplates

42 lines (27 loc) 1.33 kB
# Vue Data UI CLI [![npm](https://img.shields.io/npm/v/vue-data-ui-cli)](https://github.com/graphieros/vue-data-ui-cli) [![GitHub issues](https://img.shields.io/github/issues/graphieros/vue-data-ui-cli)](https://github.com/graphieros/vue-data-ui-cli/issues) [![License](https://img.shields.io/badge/license-MIT-green)](https://github.com/graphieros/vue-data-ui-cli?tab=MIT-1-ov-file#readme) [![npm](https://img.shields.io/npm/dt/vue-data-ui-cli)](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 ``` ![image](https://github.com/user-attachments/assets/ec300a98-986c-4e28-adcb-67bc64c8898c) 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/)