Skip to content

zombieyang/tmodjs-loader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tmodjs-loader

简洁的art-template loader

使用方式

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

添加helper

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

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published