Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

kyt-starter-static

Package Overview
Dependencies
Maintainers
7
Versions
301
Alerts
File Explorer

Advanced tools

Socket logo

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.

  • 2.0.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
7
Created
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

Package last updated on 16 May 2023

Did you know?

Socket

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc