# npx @involvex/auto-vue@latest my-vue-project
create-autovue
is a command-line interface (CLI) tool designed to streamline the setup of new Vue.js projects. It automates the entire scaffolding process, including the creation of a standardized three-branch Git repository structure (main
, dev
, gh-pages
) to get you started with development faster.
This project is based on the official create-vue
tool, but is customized to enforce project conventions and automate repository initialization.
To use create-autovue
, install it globally via npm:
npm install -g @involvex/auto-vue
npx @involvex/auto-vue@latest my-vue-project
Once installed, you can create a new Vue project by running the following command in your terminal:
create-autovue my-vue-app
This will launch an interactive setup guide where you can select features for your new project (e.g., TypeScript, Pinia, Router, etc.). After you've made your selections, the tool will:
- Create a new directory named
my-vue-app
. - Scaffold a complete Vue.js project inside it.
- Initialize a Git repository.
- Create
main
,dev
, andgh-pages
branches. - Make an initial commit with the scaffolded files.
- Check out the
dev
branch so you can start coding immediately.
Contributions are welcome! If you have ideas for improvements or find a bug, please follow these steps:
- Fork the repository.
- Create a new feature branch (
git checkout -b feature/your-feature-name
). - Make your changes and commit them (
git commit -m 'feat: Add some feature'
). - Push to the branch (
git push origin feature/your-feature-name
). - Open a Pull Request.
This project is licensed under the MIT License. See the LICENSE file for details.