Skip to content

Latest commit

 

History

History

kyt-starter-static

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

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.