• Stars
    star
    118
  • Rank 298,191 (Top 6 %)
  • Language
    TypeScript
  • License
    BSD 3-Clause "New...
  • Created over 7 years ago
  • Updated over 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Simple Starter Template for React, TypeScript, postCSS, ITCSS, CSS-Modules, Webpack and Live Reloading (React Hot Loader 3)

Build Status Dependabot Status codecov

Simple Starter Template for React, TypeScript, postCSS, ITCSS, CSS-Modules, Webpack 2 and Live Reloading (React Hot Loader 3)

Use this Starter template to create quickly first scaffolding for your SPA project. If you like to don't forget to β˜… on Github.

Features

Getting Started

Install pre-requisites

Clone Repo

  1. Get the url of your forked project.
  2. Click on "Clone or download" and Copy to clipboard the url ending on .git.
  3. Open your command line and go to your directoy You don't need to create a specific folder for the project, it will be created by git
  4. Clone your forked repo on your machine:
$ git clone https://github.com/username/react-typescript-webpack2-cssModules-postCSS

Note: That will create a new folder called react-typescript-webpack2-cssModules-postCSS with all the files in.

Install Project dependencies

$ cd react-typescript-webpack2-cssModules-postCSS
$ npm install

Open the project with your Development IDE

I use VS Code https://code.visualstudio.com Open the project using this command:

$ code .

Start development server with Hot Reloading

$ npm run start

Build for production

$ npm run build

Generate Stats (it stores the html file with the stats under webpack/stats folder)

$ npm run stats

You will see the stats:

Enjoy!

Useful demo

As part of the boilerplate, you will see a fancy demo app with two react components already created:

demoapp

License

BSD 3-Clause License

Copyright (c) 2019, JosΓ© Quinto All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

  • Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.

  • Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.

  • Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

More Repositories

1

react-d3-treemap

Treemap based on d3.treemap built using React
TypeScript
66
star
2

react-taxonomypicker

A Taxonomy Picker control built with TypeScript for React. Built for use in Office 365 / SharePoint
HTML
23
star
3

polyfill-io-feature-detection

Feature detection in the browser before loading polyfill using services like polyfill.io
JavaScript
14
star
4

react-es6-webpack-minimal-starter-template

Simple Starter Template for React, ES6, SCSS, Webpack and Live Reloading (React Hot Loader 3)
JavaScript
12
star
5

spfx-react-sp-pnp-js-property-decorators

TypeScript
10
star
6

react-d3-calendar-heatmap

Calendar HeatMap based on https://observablehq.com/@d3/calendar-view
TypeScript
10
star
7

react-responsive-menu-component

Responsive menu component built in React
HTML
3
star
8

react-webpack-postCSS

Playing with React + Webpack + PostCSS
CSS
3
star
9

react-taxonomypicker-consume-typescript

TypeScript project to consume react-taxonomypicker
JavaScript
2
star
10

spfx-react-async-await-sp-pnp-js

TypeScript
2
star
11

spfx-react-taxonomypicker

Sample web part using Taxonomy Picker control built with React and TypeScript for use with the SharePoint Framework.
TypeScript
2
star
12

react-openLayers3-sample

Open Layers 3 + React sample
JavaScript
2
star
13

nightwatch-browserstack-office365-authentication

Selenium examples for Nightwatch, BrowserStack Automate and Authentication with Office 365
JavaScript
2
star
14

Solarized_JQ-iterm

Profile, Theme and Prompt for iTerm2 (Solarized + Modifications)
Shell
1
star
15

webpack-multiple-css-output

CSS
1
star
16

react-calculator

React Calculator with Style components, TypeScript and React Test Renderer
TypeScript
1
star
17

javascript-snippets

The beauty of code snippets is their ability to save you time when developing. These are my own often-reused snippets.
JavaScript
1
star
18

blog

Stylus
1
star
19

es6-weather-forecast

ES6 Weather Forecast.
JavaScript
1
star