@inspirationlabs/prerenderer
This prerenderer is a standalone solution to prerender pages created with stencil [stenciljs](https://www.stenciljs.com).
Last updated 10 months ago by dominicboettger .
MIT · Original npm · Tarball · package.json
$ cnpm install @inspirationlabs/prerenderer 
SYNC missed versions from official npm registry.

Prerenderer for stenciljs

This prerenderer is a standalone solution to prerender pages created with stencil stenciljs.

Todo

  • Use puppeteer-core and detect the installation path of a installed chromium / chrome version
  • Unit tests
  • Create a function to predefine a list of urls which should be rendered instead of crawling
  • Realtime SSR
  • Including with stencil executable / core
  • Copy build folders to destination
  • Solving waitFor load completed

Run

If installed globally run

prerenderer srcFolder dstFolder

If running from a local checkout run

node ./dist/PrerenderManager.js srcFolder dstFolder

After a npm run build without activated prerenderer the sourcefolder is typically www. Currently it's needed to create the destination folder manually and copy the build folders after the prerender into it.

Building the package

npm run build

Current Tags

  • 0.3.0                                ...           latest (10 months ago)

6 Versions

  • 0.3.0                                ...           10 months ago
  • 0.2.3                                ...           10 months ago
  • 0.2.2                                ...           10 months ago
  • 0.2.1                                ...           10 months ago
  • 0.1.1                                ...           10 months ago
  • 0.1.0                                ...           10 months ago
Downloads
Today 0
This Week 0
This Month 7
Last Day 0
Last Week 7
Last Month 12
Dependencies (9)
Dev Dependencies (8)
Dependents (0)
None

Copyright 2014 - 2017 © taobao.org |