Installation
Below are some of the ways Afterwind
can be installed;
- NPM - (use this if you are using bundlers or having a build step)
Using NPM
NPM is a popular javascript package manager on which Afterwind is a public npm package that can be installed by anyone.
To install it, run one of the following commands:
npm install afterwind
pnpm add afterwind
yarn add afterwind
It provides a production build of the latest release from it's GitHub repository.
Usage
Simply import the default wind
function export and you're good to go.
import wind from 'afterwind';
const style = wind('bg-red text-sm');
Next Step
Now that you have installed Afterwind
, it is time to dive into the essential parts.