tag-pug-loader

1.0.0 • Public • Published

RiotJS + PugJS + Webpack

Install

$ npm install --save-dev tag-pug-loader

And add the loader to your webpack.config.js:

module.exports = {
    // ...
    module: {
      loaders: [
        { test: /\.tag$/, exclude: /node_modules/, loader: 'tag-pug-loader' }
      ]
    }
}

Description

Write RiotJS tags using PugJS (ex Jade)

Example

app.tag

app
  p Hello world

app.js

var riot = require('riot')
var app = require('app.tag')

riot.mount(app)

Running The Test Suite

$ npm test

Contributing:

Feel free to open issues to propose stuff and participate. Pull requests are also welcome.

License:

MIT

Dependencies (2)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i tag-pug-loader

    Weekly Downloads

    0

    Version

    1.0.0

    License

    MIT

    Last publish

    Collaborators

    • dumconstantin