xview-loader
v0.1.0
Published
Convert html files to a series of function calls to be used with the xView framework.
Downloads
1
Readme
xView Webpack Loader
Convert html files to a series of function calls to be used with the xView framework.
Usage
npm i -D xview-loader
In your webpack.json
module: {
loaders: [
{ test: /\.html$/, loader: "xview" }
]
},
Then you can simply require any html file
require("./view.html");