A simple boilerplate using Vite and TailwindCSS for static projects.
Fonts are self hosted, I used https://google-webfonts-helper.herokuapp.com/fonts to download Google fonts.
- Monserrat
- Raleway
Follow the herokuapp link and it explains how to embed the fonts.
-
Global styles applied in
./src/assets/css/global.css
. -
Replace the fonts with whatever you like and update
./tailwind.config.js
. -
Adding additional pages is pretty straight forward. Follow the setup in
./vite.config.js
.
As always install with:
git clone https://github.com/jjaimealeman/my-static-boilerplate2.github
cd my-static-boilerplate2
npm install
Live demo: https://my-static-boilerplate2.netlify.app/