【文件属性】:
文件名称:mails-default:邮件的默认主题
文件大小:14KB
文件格式:ZIP
更新时间:2021-05-19 23:30:06
HTML
邮件默认
邮件的默认主题。
安装
$ npm install mails-default
范本
邮件默认/基本
mails-default / hero
mails-default / newsletter
mails-default / sidebar
mails-default / sidebar-hero
例子
var mails = require ( 'mails' ) ;
mails . render ( 'mails-default/hero' , { ... } function ( err , html ) {
console . log ( html ) ;
} ) ;
主题变量
mails-default使用swig创建html,在message.html和package.json签出变量
贡献
分叉此回购
克隆您的仓库
安装依赖项
检出功能分支
【文件预览】:
mails-default-master
----hero.html(1KB)
----sidebar-hero.html(6KB)
----package.json(2KB)
----basic.html(615B)
----newsletter.html(882B)
----.npmignore(45B)
----sidebar.html(5KB)
----.gitignore(45B)
----styles()
--------ink.css(10KB)
--------mails.css(1KB)
--------basic.css(1KB)
----README.md(2KB)
----layout.html(958B)
----modules()
--------callout.html(467B)
--------footer.html(654B)
--------articles.html(2KB)
--------header.html(948B)
--------contact.html(1KB)
--------button.html(503B)