tl

tmodjs-loader

简洁的art-template loader

Showing:

Popularity

Downloads/wk

4

GitHub Stars

12

Maintenance

Last Commit

6yrs ago

Contributors

2

Package

Dependencies

2

Size (min+gzip)

17.9KB

License

Type Definitions

Tree-Shakeable

No?

Categories

Readme

tmodjs-loader

简洁的art-template loader

使用方式

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

添加helper

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

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

Rate & Review

Great Documentation0
Easy to Use0
Performant0
Highly Customizable0
Bleeding Edge0
Responsive Maintainers0
Poor Documentation0
Hard to Use0
Slow0
Buggy0
Abandoned0
Unwelcoming Community0
100