1.1.0 • Published 2 years ago

@vituum/vite-plugin-twig v1.1.0

Weekly downloads
-
License
-
Repository
github
Last release
2 years ago

⚡️🌱 ViteTwig

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

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

Basic usage

<!-- index.twig with index.twig.json -->
{{ title }}

or

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

Requirements

1.1.0

2 years ago

1.0.0

2 years ago

1.0.0-beta.2

2 years ago

1.0.0-alpha.9

2 years ago

1.0.0-beta.1

2 years ago

1.0.0-alpha.7

2 years ago

1.0.0-alpha.6

2 years ago

1.0.0-alpha.4

2 years ago

1.0.0-alpha.3

2 years ago

1.0.0-alpha.2

2 years ago

1.0.0-alpha.1

2 years ago

0.1.7

3 years ago

0.1.6

3 years ago

0.1.5

3 years ago

0.1.4

3 years ago

0.1.3

3 years ago

0.1.2

3 years ago

0.1.1

3 years ago

0.1.0

3 years ago