0.2.0 • Published 4 years ago

nest-nunjucks v0.2.0

Weekly downloads
5
License
MIT
Repository
github
Last release
4 years ago

Installation

  • Firstly, you must to install nunjucks

    npm install nunjucks
    npm install @types/nunjucks --dev
  • Well! Now you can to install nest-nunjucks

    npm install nest-nunjucks
  • Register NunjucksModule in your root module, like this:

    @Module({
        imports: [
            NunjucksModule.forRoot({
                paths: [
                    "./template",
                    "./template/partials",
                    "./template/layouts",
                ],
                options: {},
            }),
        ],
    })
    export class AppModule {}

    Nunjucks module has 2 static methods for creating dynamic module:

    • forRoot
    • forRootAsync

TODO's

  • Write this documentation
0.2.0

4 years ago

0.1.2

4 years ago

0.1.0

4 years ago

0.1.1

4 years ago

0.0.1

4 years ago