https://github.com/lfortin/vite-backbone
Starter template for Backbone.
https://github.com/lfortin/vite-backbone
backbone backbonejs boilerplate bootstrap frontend handlebars javascript jquery starter template underscore vite
Last synced: 10 days ago
JSON representation
Starter template for Backbone.
- Host: GitHub
- URL: https://github.com/lfortin/vite-backbone
- Owner: lfortin
- License: mit
- Created: 2025-05-24T14:54:15.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2025-06-24T15:55:59.000Z (7 months ago)
- Last Synced: 2025-06-24T16:49:02.653Z (7 months ago)
- Topics: backbone, backbonejs, boilerplate, bootstrap, frontend, handlebars, javascript, jquery, starter, template, underscore, vite
- Language: JavaScript
- Homepage:
- Size: 1.28 MB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# vite-backbone
> ๐ฆ Starter template for Backbone.js apps using Vite, Bootstrap 5, Handlebars, jQuery, and Underscore.
[](https://vitejs.dev/)
[](https://backbonejs.org/)
[](LICENSE)
---
## ๐ Features
- โ
Backbone Views, Models, Collections, and Routers
- ๐จ Bootstrap 5 layout & styling
- ๐ Handlebars.js for logic-less templating
- โก Vite for modern development and lightning-fast builds
- ๐งช Unit testing with Vitest
- ๐ ESLint pre-configured for common globals
- ๐ Globals for `$`, `_`, `Backbone`, `Handlebars`
- ๐ง Easily configurable and extendable
---
[](https://github.com/lfortin/vite-backbone/blob/main/public/screenshot.png?raw=true)
Try it out online:
๐ [Live Demo](https://github.stackblitz.com/lfortin/vite-backbone)
---
## ๐ ๏ธ Usage
### 1. Clone & Install
```bash
git clone https://github.com/lfortin/vite-backbone.git
cd vite-backbone
npm install
```
### 2. Start Development Server
```bash
npm run dev
```
### 3. Build for Production
```bash
npm run build
```
---
## ๐งช Running Tests
This project uses [Vitest](https://vitest.dev/) for unit testing.
To run all tests:
```bash
npm run test
```
---
## ๐ Linting Code
This project uses [ESLint](https://eslint.org/) with a modern configuration tailored for Backbone, Handlebars, jQuery, Underscore and Vitest.
To run the linter:
```bash
npm run lint
```
---
## ๐ License
MIT-0 ยฉ [lfortin](https://github.com/lfortin)