1.1.0 • Published 6 months ago

@vituum/vite-plugin-pug v1.1.0

Weekly downloads
-
License
-
Repository
github
Last release
6 months ago

⚡️🐕 VitePug

import pug from '@vituum/vite-plugin-pug'

export default {
    plugins: [
        pug()
    ],
    build: {
        rollupOptions: {
            input: ['index.pug.html']
        }
    }
}
  • Read the docs to learn more about the plugin options.
  • Use with Vituum to get multi-page support.

Basic usage

<!-- index.pug -->
include /path/to/template.pug

or

<!-- index.json  -->
{
  "template": "path/to/template.pug",
  "title": "Hello world"
}

Requirements

1.1.0

6 months ago

1.0.0

11 months ago

1.0.0-alpha.2

11 months ago

1.0.0-alpha.1

11 months ago

1.0.0-beta.1

11 months ago

0.1.4

1 year ago

0.1.5

1 year ago

0.1.3

2 years ago

0.1.2

2 years ago

0.1.1

2 years ago

0.1.0

2 years ago

0.0.1

2 years ago