sparkbox / email-lab Goto Github PK
View Code? Open in Web Editor NEW📩 Starter project for designing and testing HTML email templates
📩 Starter project for designing and testing HTML email templates
So I can use same HTML component in different email and different content. To keep markup at a single place.
I just installed Email Lab and it works wonderful, thanks for all of your effort!
However I noticed that changes to SCSS files don't trigger LiveReload, although it's configured in Gruntfile.js - which is a bit tedious. After fiddling around a bit I found a quick fix. Within Grundfile.js, at "files" at the livereload config use '<%= config.src %>/scss/{,/}.scss' instead of '<%= config.tmp %>/css/{,/}.css
I've successfully installed Grunt, Node & Bundler and followed steps 1-3 within my project's root directory.
After configuring my settings.json file, I entered 'Grunt Server' but got the following error message:
Error: Unable to parse "settings.json" file (Unexpected token “).
Warning: Task "server" not found. Use --force to continue.
Aborted due to warnings.
Does anyone know what could cause this?
Here's what my settings.json file looks like:
{
"from": “Peter Hironaka [email protected]"
"defaultTo": {
"name": “Peter Hironaka“,
"email": “[email protected]”
},
"transport": {
"type": "SMTP",
"options": {
"service": “Gmail”,
"auth": {
"user": "[email protected]",
"pass": “xxxxxx“
}
}
}
}
This may be a premailer or assemble question, but wondering if you know of a way to inject styles into 'head' rather than 'body' (general / media queries, not inline styles).
Any help is appreciated. Great tool!
Hi there,
Excellent tool! However, I'm running into an issue on build / send where characters in media queries are being replaced with their Unicode equivalent. This is great for HTML, but breaks css. (I realize this has nothing to do with the injection of inline-css which is one of my favorite features... this is in regards to media-queries targeting for specific platforms).
Example of CSS render in markup: '.inner > tbody' becomes '.inner > tbody'
I've looked into grunt-premailer options, but to no avail. Any ideas how to turn this off (at least for CSS)?
Thanks for your time, and again, amazing tool!
Judah
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.