@motorjs/engine

    3.3.3 • Public • Published

    Motor Engine

    NOTE: if you are using @motorjs/cli you don't need to install this

    Installation

    using yarn

    yarn add @motorjs/engine

    using npm

    npm i -S @motorjs/engine

    Usage

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

    Keywords

    none

    Install

    npm i @motorjs/engine

    DownloadsWeekly Downloads

    0

    Version

    3.3.3

    License

    MIT

    Unpacked Size

    8.18 kB

    Total Files

    11

    Last publish

    Collaborators

    • mouafa
    • pierpaoloferraro
    • smartmohamed