tmodjs-loader

1.0.1 • Public • Published

## tmodjs-loader 简洁的art-template loader

使用方式

{
  ...
  module: {
    loaders: [
      {
          test: /\.tpl$/,
          loader: "tmodjs"
      }
    ]
  }
}

添加helper

var art = require('tmodjs-loader/runtime');

art.helper('xxx', function() {
    //xxx
})

Readme

Keywords

Package Sidebar

Install

npm i tmodjs-loader

Weekly Downloads

9

Version

1.0.1

License

none

Last publish

Collaborators

  • xosuperpig