jahvi / generator-htmlemail Goto Github PK
View Code? Open in Web Editor NEWHTML Email boilerplate generator for Yeoman
License: MIT License
HTML Email boilerplate generator for Yeoman
License: MIT License
I get this after filling out the prompts:
undefined:9 ((__t = ( paths.src )) == null ? '' : __t) + ^ ReferenceError: paths is not defined at eval (/lodash/template/source[1]:9:11) at HtmlEmailGenerator.underscore [as _engine] (/usr/lib/node_modules/generator-htmlemail/node_modules/yeoman-generator/lib/util/engines.js:33:30) at HtmlEmailGenerator.engine (/usr/lib/node_modules/generator-htmlemail/node_modules/yeoman-generator/lib/actions/actions.js:291:10) at HtmlEmailGenerator.template (/usr/lib/node_modules/generator-htmlemail/node_modules/yeoman-generator/lib/actions/actions.js:269:15) at HtmlEmailGenerator.prepareMainFiles (/usr/lib/node_modules/generator-htmlemail/app/index.js:158:10) at /usr/lib/node_modules/generator-htmlemail/node_modules/yeoman-generator/lib/base.js:290:20 at /usr/lib/node_modules/generator-htmlemail/node_modules/yeoman-generator/node_modules/async/lib/async.js:548:21 at /usr/lib/node_modules/generator-htmlemail/node_modules/yeoman-generator/node_modules/async/lib/async.js:224:13 at iterate (/usr/lib/node_modules/generator-htmlemail/node_modules/yeoman-generator/node_modules/async/lib/async.js:131:13) at /usr/lib/node_modules/generator-htmlemail/node_modules/yeoman-generator/node_modules/async/lib/async.js:142:25
Use grunt-concurrent to speed up build tasks
For templating
Ask user if they want SCSS support
Prompt user for multiple test email targets
Prompt user for template url to fetch template from
Current only "SMTP" is allowed, need support for "SES" and "Sendmail"
This should allow users to just type "mydomain.com" and format it to the required "http://mydomain.com/" format
Just thought you should know - media query blocks get stripped and inlined by premailer. To get round this, you'll need to put MQ's in a block in the index.html with:
<style data-premailer="ignore">
@media only screen and (max-device-width: 480px) {
....
}
</style>
Hope this is useful,
John
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.