Cambia el lenguaje: ES
CLI under construction 🚧 to create Vite project, that for the moment uses as base the official templates: react or react-ts.
You can choose between these tools, some of them have extra configuration options:
Name | Configuration | Recommended | Type |
---|---|---|---|
ESLint | Recommended - Standar | ✅ | Linter/Formatter |
Prettier | Default - None | ✅ | Formatter |
Husky | Git Hooks | ||
Lint Staged | Git Linter | ||
React router | Router | ||
Wouter | Router |
This way you don't waste any time and you can start coding! 🤓
NOTE: The recommended options (✅), are checked by default so you don't have to select them. They improve your development environment, taking care of code formatting and checking errors. **You can unpick them
ESLint
Recommended** Recommended | Standard |
---|---|
How would you like to use ESLint? - problems | Info |
✔ What type of modules does your project use? - esm | |
✔ Which framework does your project use? - react | |
Does your project use TypeScript? - No 🚧 / Yes | |
✔ Where does your code run? - browser | |
✔ What format do you want your config file to be in? - JavaScript |
Prettier
| Default | None | | -------------------------- | ---- | --- | | Info | {} | |
- Run the following command to create your project:
npx create-custom-vite --en
ccv_en.mp4
- Answer the questions with (y/n) or by choosing one of the options.
💡 If the option is checked by default, you can use Enter.
-
Enter your new project folder and in the terminal type the command
npm run dev
to verify that it works. -
You can leave the default settings or modify them to your liking 🥳
For this you can open an issue with what you would like to add to the project, bug or extra settings you would like to be selectable.
Depending on the template selected:
Depending on the responses:
-
ESLint with:
- Plugins:
- Rules:
Routers:
👩🏻💻 Noelia Donato
If you have any feedback, please write to vamoacodear@gmail.com 🤗