https://github.com/spellbooks/jekyll-boilerplate
A Jekyll boilerplate with (Vite, Stimulus.js, and Tailwind)
https://github.com/spellbooks/jekyll-boilerplate
jekyll jekyll-site stimulus stimulusjs tailwind tailwindcss vite
Last synced: 23 days ago
JSON representation
A Jekyll boilerplate with (Vite, Stimulus.js, and Tailwind)
- Host: GitHub
- URL: https://github.com/spellbooks/jekyll-boilerplate
- Owner: spellbooks
- Created: 2025-06-09T21:58:29.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2025-09-09T18:43:26.000Z (29 days ago)
- Last Synced: 2025-09-09T22:30:38.116Z (29 days ago)
- Topics: jekyll, jekyll-site, stimulus, stimulusjs, tailwind, tailwindcss, vite
- Language: Ruby
- Homepage:
- Size: 6.05 MB
- Stars: 2
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Jekyll Starter
A clean boilerplate to kickstart client-side sites using **Jekyll**, **Vite**, **Stimulus.js**, and **Tailwind CSS**.
Ideal for blogs, documentation sites, personal landing pages or portfolio.I built this template to make Jekyll competitive with Astro.
Jekyll using version `4.4.1`
Stimulus configuration `app/javascript/application.js`
Stimulus controllers are located in `app/javascript/controllers/**`Tailwind input `app/assets/stylesheets/tailwind.css`
Tailwind builds to `app/assets/stylesheets/application.css`- [Jekyll](https://jekyllrb.com/)
- [Vite](https://vite.dev/)
- [Stimulus.js](https://stimulus.hotwired.dev/)
- [Tailwind CSS](https://tailwindcss.com/)---
## Structure
## Prerequisites
- Ruby 3.0^
- Node 2.2^## Installation
#### 1. Clone the Repository
```bash
git clone https://github.com/spellbooks/jekyll-template-starter.git
cd jekyll-template-starter
```#### 2. Install Dependencies
```bash
bundle install && npm install
```#### 3. Run Jekyll Development Server
```bash
rake dev
```
the command running jekyll, vite and tailwindcssopen `localhost:4000`
#### 4. Run Rspec Testing
```bash
rake test
```#### 5. Generate Controller Stimulus
`hello is example`
```bash
rake stimulus[hello]
```
make new file 'hello_controller.js in `app/javascript/controllers`added import and register hello controller in `app/javascript/application.js`
#### 6. Build js using vite
```bash
rake build
```
file build in `app/build/application.js`#### 7. Run Jekyll Production Sever
```bash
rake p
```## Gists
Automation Generate new Project jekyll use this template
https://gist.github.com/whdzera/aefad9ae560df32adfb7848e0bad28f2
## License
MIT License
#### Credits
Created by `whdzera`
Feel free to fork, improve, or contribute via pull requests!