ulka-source-ejs

1.2.0 • Public • Published

ulka-source-ejs

Plugin for ulka static site genrator to generate html from ejs files.

Installation

npm install ulka-source-ejs

Add ulka-source-ejs to plugins array in ulka-config.js

// ulka-config.js
module.exports = {
    ...
    plugins: [
        ...
        "ulka-source-ejs",
    ],
}

Customization

To customize ulka-source-ejs, you need to pass plugin as object to plugins array.

// ulka-config.js
module.exports = {
    ...
    plugins: [
        ...
        {
            resolve: "ulka-source-ejs",
            options: {
               ejsOptions: {
                   // options accepted by ejs (filename and context options are ignored here)
               }
            }
        },
    ],
}

Readme

Keywords

none

Package Sidebar

Install

npm i ulka-source-ejs

Weekly Downloads

2

Version

1.2.0

License

MIT

Unpacked Size

3.28 kB

Total Files

4

Last publish

Collaborators

  • coderosh