Awesome
What is Bojler ?
Bojler is an email framework for developing responsive and lightweight email templates that will render correctly across each of the most popular email clients.
If you have experience with email template development, you know how painful it is to build a perfect email template that works across all email clients.
To make it easier for you to develop responsive and lightweight email templates we have created Bojler.
Project documentation π
Full project documentation can be found at https://bojler.slicejack.com/.
Quick-start guide π
Full getting started guide can be found here.
1. Download
- Download source files or
- Clone the repo:
git clone https://github.com/Slicejack/bojler.git
2. Install node packages: npm install
Secondly, install node packages in root of your newly downloaded folder with npm install
command.
This is an example of what you should get after you run
npm install
command.
3. Start development server: npm start
Let's fire up our development server π₯
Run npm start
in your project root folder.
While your development server is running, every time you make and save changes they will be automatically compiled from src/
to dist/
folder.
This is an example of what you should get after you run
npm start
command and save some changes while your development server is running.
4. Project configuration and files editing
Youβre ready to edit bojler configuration file in src/sass/_settings.scss
.
You can take a deeper look at documentation section where we examine variables and maps more carefully.
Now, you can start adding HTML templates to src/templates
folder.
In /templates
folder you can find boilerplate.html
and boilerplate-with-hero.html
which you can use as starting point for new templates.
Available NPM commands
<table> <thead> <tr> <th width="170">Command</th> <th>Description</th> </tr> </thead> <tbody> <tr> <td><code>npm start</code></td> <td>This command starts live development server and watch task. While your development server is running, every time you make and save changes they will be automatically compiled from <code>src/</code> to <code>dist/</code> folder. Take a look at example <a href="https://asciinema.org/a/dtwO6MMKRYvTxFIOhVllHGxEK" rel="noopener" target="_blank">here</a>.</td> </tr> <tr> <td><code>npm run build</code></td> <td>This command builds everything from <code>src/</code> to <code>dist/</code> folder. Take a look at example <a href="https://asciinema.org/a/ueyKU3Q2Z1UNqFDNiqLqFNSXn" rel="noopener" target="_blank">here</a>.</td> </tr> <tr> <td><code>npm run assets</code></td> <td>This command copies all the assets from <code>src/assets/</code> to <code>dist/assets/</code> folder. You have to run this command every time you add a new asset in order to see changes. Take a look at example <a href="https://asciinema.org/a/k0aS881EUNes4GaBhGeVMjuYE" rel="noopener" target="_blank">here</a>.</td> </tr> </tbody> </table>Features
Quick features overview:
- Itβs responsive π₯οΈ π» π±
- Built with SASS π
- Automated SASS to CSS transpiler π’ π π
- Automated SASS linter (With email development rules) ποΈ
- Automated CSS inlining π’ π π¦
- Webserver with live reload π
- Default boilerplate template included
- Reset styles
- Typography βοΈ
- Grid system
- Utility classes π οΈ
- Components
Bugs and feature requests π·οΈ
If you find a bug or need new feature please open a new issue and we will discuss about it.
How to contribute ? π οΈ
You can review the guidelines for contributing to this repository here.
Change Log
All notable changes to this project will be documented in CHANGELOG file.
Credits
Special thanks to:
- Ian Hoar
- Sean Powell
- James White
- Campaign Monitor
- MailChimp
- Email on Acid
- Litmus
- Bringinteraktiv
- Zurb Foundation
License
All contents of this boilerplate are licensed under the MIT license.