xview-loader

Convert html files to a series of function calls to be used with the xView framework.

Usage no npm install needed!

<script type="module">
  import xviewLoader from 'https://cdn.skypack.dev/xview-loader';
</script>

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