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
    })
    

    Install

    npm i tmodjs-loader

    DownloadsWeekly Downloads

    3

    Version

    1.0.1

    License

    none

    Last publish

    Collaborators

    • xosuperpig