在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称(OpenSource Name):darylldoyle/Gulp-Email-Creator开源软件地址(OpenSource Url):https://github.com/darylldoyle/Gulp-Email-Creator开源编程语言(OpenSource Language):JavaScript 50.0%开源软件介绍(OpenSource Introduction):Gulp-Email-CreatorGulp Email Creator is a gulp workflow inspired by Lee Munroe's grunt-email-design workflow. It aims to help speed up email template production by allowing you to use SCSS and inlining the generated CSS for you. InstallationTo use Gulp-Email-Creator you need to have both Node.js and Gulp.js installed . You can install it by cloning this repository to a local folder and running the following from inside the directory. npm install This will install all dependencies. If the install fails try running the install as root. For some reason browsersync seemed to fail for me unless installed as root. sudo npm install This now uses MailChimp's CSS inliner as I've found it to work better across browsers. You will now need a Mailchimp API key which you can add to the Using the packageYou can use the Gulp-Email-Creator workflow by creating your HTML in the Compile TemplatesRunning The gulpfile has browsersync built in and will reload on any HTML or CSS edit, allowing you to focus on your code. Sending the Template to yourselfRunning To run this, you can use the following command gulp send --template="compiled-template-name.html" TestingThanks to the awesome guys over Litmus, we can now throw your emails straight into their tests. You'll need an active Litmus account (well worth the money!) and to get your static email. Plug this into the gulp litmus --template="compiled-template-name.html" In a few seconds/minutes, you'll see the test appear in Limus for you! ContributingAny contributions will be happily recieved. Just open an issue or make a pull request. |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论