underscore-template-strict-loader:不违反严格模式的Underscore模板的加载程序

时间:2021-04-30 12:55:04
【文件属性】:
文件名称:underscore-template-strict-loader:不违反严格模式的Underscore模板的加载程序
文件大小:16KB
文件格式:ZIP
更新时间:2021-04-30 12:55:04
template webpack loader underscore strict 下划线模板严格加载器 用于Webpack的Underscore.js模板加载器,可在严格模式下使用。 下划线模板默认情况下不使用严格模式,因为它们使用with(data)函数使您可以访问数据变量。 此插件的工作方式是在模板中的每个变量前面加上data.whatever , {{ name }}变成{{ data.name }} 。 不推荐使用 该软件包已不再维护。 安装 一旦安装了Underscore软件包,就可以运行: npm install underscore-template-strict-loader 执照 underscore-template-strict-loader已。 用法 module . exports = { module : { test : / \. jst / , loader : 'undersc
【文件预览】:
underscore-template-strict-loader-master
----.gitignore(13B)
----README.md(2KB)
----test()
--------test.js(5KB)
----LICENSE(1KB)
----package.json(1KB)
----index.js(41B)
----yarn.lock(32KB)
----lib()
--------node.js(965B)
--------objects.js(1KB)
--------loader.js(6KB)
----circle.yml(238B)

网友评论