Socket
Socket
Sign inDemoInstall

kyt-starter-static

Package Overview
Dependencies
342
Maintainers
7
Versions
297
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    kyt-starter-static

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


Version published
Weekly downloads
17
decreased by-50%
Maintainers
7
Created
Weekly downloads
 

Readme

Source

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:

  • React - Component library
  • React Router - Server and client routing
  • Pretty Lights - CSS-in-JS with a reliable API
  • React Testing Library - React component testing
  • html webpack plugin - Builds a static html file

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.

FAQs

Last updated on 16 May 2023

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc