0.3.0 • Published 4 years ago
awewinds v0.3.0
awewinds
Tailwind CSS Easy Setup
Configure your create-react-app, gatsby or vue-cli project with Tailwind CSS quickly!
NOTE: awewinds is only a quick installer for tailwind in your projects. The truly magic does it:
- Credit to Adam Wathan, creator of Tailwind CSS.
On your root project run:
$ npx awewinds
or
$ npm install -g awewinds
Instructions
create-react-app
Open your package.json file, modify and add the next lines to "scripts" section:
"build:css":"tailwind build src/css/index.css -o src/css/tailwind.css",
"start": "npm run build:css && react-scripts start",
Import your CSS in the index.js file
import './css/tailwind.css';
Gatsby
Open your package.json file, modify and add the next lines to "scripts" section:
"build:css":"tailwind build src/css/index.css -o src/css/tailwind.css",
"start": "npm run build:css && npm run develop",
Import your CSS in the ./pages/index.js file
import '../css/tailwind.css';
Run your project
npm start
Vue cli
Open your package.json file, modify and add the next lines to "scripts" section:
"build:css":"tailwind build src/css/index.css -o src/css/tailwind.css",
"serve": "npm run build:css && vue-cli-service serve",
Import your CSS in the main.js file
import './css/tailwind.css';
License
0.3.0
4 years ago
0.2.9
4 years ago
0.2.8
4 years ago
0.2.7
4 years ago
0.2.6
4 years ago
0.2.5
4 years ago
0.2.4
4 years ago
0.2.3
4 years ago
0.2.2
4 years ago
0.2.1
4 years ago
0.2.0
4 years ago
0.1.9
4 years ago
0.1.8
4 years ago
0.1.7
4 years ago
0.1.6
4 years ago
0.1.5
4 years ago
0.1.4
4 years ago
0.1.2
4 years ago
0.1.3
4 years ago
0.1.1
4 years ago
0.1.0
4 years ago
0.0.10
4 years ago
0.0.9
4 years ago
0.0.8
4 years ago
0.0.7
4 years ago
0.0.6
4 years ago
0.0.5
4 years ago
0.0.4
4 years ago