@motorjs/plugin-pug

    3.3.3 • Public • Published

    Motor plugin-pug

    pug template based renderer for motor

    Installation

    using yarn

    yarn add @motorjs/plugin-pug

    using npm

    npm i -S @motorjs/plugin-pug

    Usage

    const motor = require('@motorjs/engine')
    const Pug = require('@motorjs/plugin-pug')
     
    const motorConfig = {
      templatesDir : path.resolve('templates'),
      outputDir : path.resolve('output'),
      viewsDir : path.resolve('views'),
     
      plugins: [
        new Pug()
        // other plugins
      ]
    }
     
    motor(motorConfig)

    Keywords

    none

    Install

    npm i @motorjs/plugin-pug

    DownloadsWeekly Downloads

    0

    Version

    3.3.3

    License

    none

    Unpacked Size

    2.08 kB

    Total Files

    4

    Last publish

    Collaborators

    • mouafa
    • pierpaoloferraro
    • smartmohamed