Jekyll is a static website generator that works seamlessly with GitHub Pages.
First, install Jekyll.
Then ensure Tailwind CSS and daisyUI & Prettier plugins are installed:
Dev dependencies should be easily installable with:
npm install
- Tailwind CSS
- daisyUI
- Prettier
- Also ensure to install npm package
tailwindcss-cli
to avoid annoying warning
In a separate terminal window, run this command in project root directory to ensure tailwind generates CSS based in implemented classes in HTML and JS:
npx tailwindcss -i ./src/css/input.css -o ./src/css/tailwind.css --autoprefixer --minify --watch
Then run these commands in the main window in project root directory:
bundle install
bundle exec jekyll serve
Note: Ensure to build the project locally before pushing with bundle exec jekyll build