solidjs / solid-start

SolidStart, the Solid app framework
https://start.solidjs.com
MIT License
4.93k stars 371 forks source link

[Feature?]: Allow `init` of projects with both `vitest` and `tailwindcss` #1528

Closed hamirmahal closed 1 week ago

hamirmahal commented 3 weeks ago

Duplicates

Latest version

Summary 💡

Users should have the option to include both vitest and tailwindcss in a new project created with npm init solid@latest.

Examples 🌈

npx create-next-app@latest has something similar, where users can add TypeScript, and Eslint, and Tailwind CSS to a new project. It'd be nice if npm init solid@latest let users add all of the above, plus vitest.

$ npx create-next-app@latest
✔ What is your project named? … my-app
✔ Would you like to use TypeScript? … No / Yes
✔ Would you like to use ESLint? … No / Yes
✔ Would you like to use Tailwind CSS? … No / Yes

Motivation 🔦

This reduces boilerplate and saves time for people who want to create a new solid project with vitest and tailwindcss.

atk commented 3 weeks ago

You can use solid-cli add vitest to your solid-start app with tailwind.

brenelz commented 1 week ago

Oh wow that CLI is super cool going to remember that next time. I think we can close this issue?