No Plugins; Monolithic

    @nx-js/render-middleware

    1.0.2 • Public • Published

    The render middleware factory

    The render middleware factory allows you to modularize your components into separate JavaScript, HTML and CSS files.

    • name: render
    • direct middleware dependencies: none
    • all middleware dependencies: none
    • type: component middleware
    • docs

    Installation

    npm install @nx-js/render-middleware

    Usage

    const component = require('@nx-js/core')
    const params = require('@nx-js/render-middleware')
    
    component()
      .use(render({
        template: require('./view.html'),
        style: require('./style.css')
      }))
      .register('comp-name')

    Install

    npm i @nx-js/render-middleware

    DownloadsWeekly Downloads

    2

    Version

    1.0.2

    License

    MIT

    Last publish

    Collaborators

    • solkimicreb