A simple landing page using the CSS framework Tailwind in a proper PostCSS environment.
This is deployed on netlify via the netlify github integration, with settings as follows:
- Published folder set to
/public
- Build script of
npm run production
to re-build the css on deployment - DNS cname that points to the netlify domain
-
Install the dependencies:
# Using npm npm install
-
Start the development server:
# Using npm npm run serve
Now you should be able to see the project running at localhost:8080.
-
Open
public/index.html
in your editor
For production purposes, the PostCSS uses the Purgecss and cssnano to optimize your CSS!
To build an optimized version of your CSS, simply run:
# Using npm
npm run production
After that's done, check out ./public/build/tailwind.css
to see the optimized output.