Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

gulp-seajs-dot

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gulp-seajs-dot

dot模板引擎转seajs module

  • 1.0.4
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
5
Maintainers
1
Weekly downloads
 
Created
Source

gulp-seajs-dot

把dot模板包装成seajs的module

Overview

  • 自动进行压缩
  • 配置参数prefix:文件名前缀,htmlMinifier:压缩html使用的html-minifier的配置

Examples

1、多个子模板

<script export="head" type="text/template">
    <div class="page-head">
        <b>Welcome to Homyit, {{= it.name }}</b>
    </div>
</script>

暴露的方法名与export一致

2、普通HTML

<div class="page-head">
    <b>Welcome to Homyit!</b>
</div>

单个模板下,直接暴露字符串

FAQs

Package last updated on 28 Jan 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc