Skip to content

fwolle30/React-Boilerplate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

React-Boilerplate

A boilerplate app for react.

This configuration enables you to create react apps with an easy to use interface.

List of contents:

How to start:

All files in the src/ are used in the compile process. To get your app started, simply modify the index.tsx, which act as a starting point, and modify index.html as needed.

Notice:
If you create CSS Modules, or add CSS Classes, you may also run
> gulp tcm
to create the type definitions for your CSS classes.

Gulp targets:

Target Description
tcm Short for typed CSS modules. Creates the type definition for the CSS Files.
copysrc Copy .ts or .tsx source files to the build directory (workaround for typescript not finding CSS modules).
copyassets Moves assets to the dist directory.
build build and distribute the source (depends on tcm, copyassets, copysrc)
bundle (virtual) Bundles the JavaScript files for distribution. (depends on build)
clean Remove build and distribution files. (Basically, compile from scratch.)

Custom Arguments

Argument Value Description
--type development Build unminified development Version
  production Build minified production Version

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published