1.0.0 • Published 8 years ago
mustache-ractive-loader v1.0.0
mustache ractive loader for webpack
Installation
npm install mustache-ractive-loader
Usage
webpack.config.js
module: {
loaders: [
{
test: /\.mustache$/,
loader: 'mustache-ractive-loader',
}
]
}
index.js
import Ractive from 'ractive'
import tpl from './tpl/index.mustache'
const ractive = new Ractive({
el: '#app',
template: tpl,
});
License
1.0.0
8 years ago