xview-loader

0.1.0 • Public • Published

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");

Readme

Keywords

none

Package Sidebar

Install

npm i xview-loader

Weekly Downloads

0

Version

0.1.0

License

MIT

Last publish

Collaborators

  • unwrittenfun