Remix
Start using Wedges with Remix.
Setting up Remix
To set up a new Remix project, run the following command in your terminal:
More information can be found in the official Remix Documentation.
Install Wedges
Install Tailwind CSS
By default, Remix does not include Tailwind CSS, so we’ll need to do that manually.
More information can be found in the official Tailwind CSS installation guide.
Let’s start by installing the Tailwind CSS:
Then run the init command to generate tailwind.config.ts
file:
Configure Tailwind CSS
Update your tailwind.config.ts
file to add the necessary configuration for Wedges:
Add the Directives
Create a ./app/tailwind.css
file and add the @tailwind
directives for each of Tailwind’s layers.
Import the CSS File
Import the newly-created tailwind.css
file in your ./app/root.jsx
file.
Start the Dev Server
All Done!
You can now start using the components in your application.