@rispa/render-static
v4.1.3
Published
**Rispa** plugin for static site generation.
Downloads
6
Readme
Rispa Render Static
Rispa plugin for static site generation.
Provide an array of paths to be rendered and a matching set of *.html
files will be rendered in /build
directory.
Getting Started
Installation
To add this plugin, run inside project directory:
ris add rispa-render-static
Configure
In @rispa/config
plugin, we can configure render routes.
For example:
const config = {
...,
'@rispa/render-static': {
routes: [
'/',
'/catalog',
'/about',
],
},
}
export default config
Build
Use @rispa/webpack commands to build your code and generate static pages.