init-nuxt-app
v1.1.0
Published
Interactive tool to create nuxt apps.
Downloads
18
Maintainers
Readme
Nuxt App Setup Script
This script automates the process of creating a new Nuxt application with selected modules and configurations. It simplifies the initial setup by prompting the user for various options and integrating essential features right from the start.
Features
- Project Initialization: Easily create a new Nuxt project with a specified name and package manager (npm, pnpm, yarn, or bun).
- Module Selection: Choose from a list of common modules to include in your project, such as:
- TailwindCSS for styling
- VueUse for Vue composition API utilities
- ESLint for code linting
- Testing tools for unit and integration tests
- Other optional modules like Fonts, SEO, and animations.
- Progress Indication: Uses visual feedback (via ora) to show the progress of project setup and module installation.
Usage
npx init-nuxt-app@latest
or, alternatively:
npm install -g init-nuxt-app
init-nuxt-app
If you are using yarn and facing issues, try to run corepack enable
before.
Develop
- Install Node.js
- Install dependencies
npm install
- Link the Binary
npm link
- Execute the script and follow the prompts to create your Nuxt application with the desired settings.
Installation of Modules
The script will set up the following modules based on user selection:
Thanks
Big Thanks to LearnVue (@mattmaribojoc) for giving me the idea of creating this.