4.1.3 • Published 7 years ago

@rispa/render-static v4.1.3

Weekly downloads
1
License
MIT
Repository
github
Last release
7 years ago

Rispa Render Static Build Status

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.