Create React App, included with TailwindCSS and PurgeCSS
Create React apps with no build configuration.
- Included with TailwindCSS
- Included with PurgeCSS
npx create-react-app --scripts-version=react-scripts-tailwindcss my-app cd my-app npm start
We try to make a version with TailwindCSS every few releases of create-react-app.
- create-react-app v3.2.0 and Tailwind CSS v1: https://github.com/DemianD/create-react-app-tailwindcss/tree/tailwind-v3.2.0
Request to update tailwind to 1.x
It is not a bug but it would be nice to have the packages in the latest version, specially because of the color naming changes and the
grey / gray.
After manually trying to
npm install [email protected]^1.0 --save-dev, the app doesn't run anymore.
`Could not locate supplied template: $PWD/cra-template`
I noticed that it uses the latest CRA (Create-React-App) which now it's v3.4.1 but it seemed to be working until v3.2 or maybe v3.3, I noticed some other issues at
create-react-appwith the same error.
How to reproduce:
As soon as you run
npx create-react-app --scripts-version=react-scripts-tailwindcss my-app, you will get every package installed, folder created but no
publicfolders inside, the last verbose message is:
Could not locate supplied template: $PWD/cra-template.
$PWDmeans my current path.