The theme sources files are located in public.
Laravle users see https://github.com/dcblogdev/laravel-admintw
The original source files to run Tailwind has been included to enable you to run the same setup.
To run the source files follow these steps:
- Download or clone this repo, moving into the root and install NPM
npm installWatch the html files as you make changes. You can install NPM Live-Server to watch for changes in html files and auto reload the pages.
to install Live Server globally:
npm install -g live-serverThen to run and watch the public folder:
live-server publicFor production the stylesheet will need to be perged of all unused CSS classes.
To do this open postcss.config.js then uncomment:
/*require('@fullhuman/postcss-purgecss')({
content: [
'./public/*.html'
],
defaultExtractor: content => content.match(/[A-Za-z0-9-_:/]+/g) || []
})*/To it looks like this:
require('@fullhuman/postcss-purgecss')({
content: [
'./public/*.html'
],
defaultExtractor: content => content.match(/[A-Za-z0-9-_:/]+/g) || []
})Then install NPM if you haven't already by running
npm installNext recompile the styles.css by running
npm run buildthis will then remove all unused styles from tailwind into the public/css/tailwind.css file.
This should only be done for deployment.

