kyt-starter-static

2.0.1 • Public • Published

Static React starter-kyt

This starter-kyt should serve as the base for an advanced client-rendered React app.

Installation

$ yarn add kyt
$ yarn kyt setup

Select static from the list of starter-kyts

Tools

The following are some of the tools included in this starter-kyt:

Notes on implementation

  • You will find a src/index.ejs file which gets compiled to an html file by the html webpack plugin. See more for configuration in the kyt.config.js. After a build, kyt will copy the html build into build/public.

  • Assets from src/public are accessible from / in both dev and production (build).

  • Note, if your site uses routes, dev is configured with the history api fallback to support routing. In production (after a build), you will need to setup an edge/server, like nginx or Varnish, to forward routed requests to your build/index.html.

How To Contribute

Want to build your own starter-kyt? See directions here.

Readme

Keywords

none

Package Sidebar

Install

npm i kyt-starter-static

Weekly Downloads

40

Version

2.0.1

License

Apache-2.0

Unpacked Size

62.9 kB

Total Files

32

Last publish

Collaborators

  • delambo
  • btwood
  • caiogondim
  • fesebuv
  • wonderboymusic
  • ccpricenytimes
  • ctborg