0.0.10 • Published 11 months ago

vue-comp-forge v0.0.10

Weekly downloads
-
License
MIT
Repository
-
Last release
11 months ago

🎨 Vue Component Generator CLI

Vue Component Generator is a powerful and intuitive CLI tool for creating Vue.js components with support for both Composition API and Options API. Simplify your development workflow with this fast and easy-to-use tool!

✨ Main Features

Component Generation: Create Vue.js components with Composition API or Options API. TypeScript Support: Automatically adds lang="ts" to the script for TypeScript. Dynamic Props: Add props directly through the terminal and the tool takes care of the rest! Pre-defined Templates: Ready-made component structures for you to start coding faster.

🛠️ Installation

Before you begin, make sure you have Node.js installed.

npm install -g vue-component-generator

🚀 How to Use

Start the Component Generator Run the command below in the terminal:

create-vue-component
QuestionDescriptionExample
Component NameChoose a name for your component.MyAwesomeComponent
DirectoryChoose the directory where you want to create the component../src/components
Vue APIChoose between Composition API or Options API.Composition API
PropsDefine your component's props in the format propName:type.id:number, title:string

📄 License

This project is licensed under the MIT License - see the LICENSE file for details.

0.0.10

11 months ago