Remove Tailwind
tip
Hydrogen 2.0 is out now. These archival Hydrogen 1.0 docs are provided only to assist developers during their upgrade process. Please migrate as soon as possible.
If you don't want to build with Tailwind's library and instead want to write your own CSS, then you can remove Tailwind:
- Delete all the code in
src/index.css
. - Remove Tailwind from
package.json
. - Remove Tailwind from
postcss.config.js
. - Run the following commands:
```bash?filename: 'Terminal', title: 'npm'
// Switch to your app's directory
cd <directory>
// Install dependencies
npm i
// Start the development server
npm run dev
```
```bash?filename: 'Terminal', title: 'Yarn'
// Switch to your app's directory
cd <directory>
// Install dependencies
yarn
// Start the development server
yarn dev
```