GithubHelp home page GithubHelp logo

a-tarasyuk / rr-boilerplate Goto Github PK

View Code? Open in Web Editor NEW
36.0 4.0 8.0 4.07 MB

A lightweight React&Redux boilerplate

License: MIT License

JavaScript 93.66% CSS 5.25% HTML 1.09%
react redux react-redux-boilerplate css-modules react-router-v4 hot-module-replacement react16 webpack4 babel7 jest

rr-boilerplate's Introduction

React&Redux boilerplate

GitHub license

Lightweight React&Redux boilerplate

Getting started

  1. Clone this repository using git clone --depth=1 https://github.com/a-tarasyuk/rr-boilerplate.git <YourProjectName>
  2. Enter to your project cd <YourProjectName>
  3. Run npm i to install the dependencies
  4. Run npm start to start the local web server
  5. Go to http://localhost:9999

Libraries/Tools

NPM tasks

  • npm start - starts local web server
  • npm test - runs tests
  • npm run start:prod- starts production build and run the local web server
  • npm run build - starts production build (puts result to build folder)

rr-boilerplate's People

Contributors

a-tarasyuk avatar dependabot[bot] avatar nikolaygalkin avatar ronnielsen avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

rr-boilerplate's Issues

React Router

Hi, thanks for the boilerplate - it's worked great for me so far!

I was just wondering if you know how to go about adding react-router to the current webpack setup. I assume it needs an express server but I'm unsure how to go about that.

Thanks!

importing es6 into webpack/config.js throws an error

src/utils/styleUtils/vars/font.js

export const baseFont = 16;
export const baseLineHeight = 22;

webpack/config.js

import cssMap from 'postcss-map';
import * as varMap from '../src/utils/styleUtils/vars/font.js';

postcss: (webpack) => {
    return [
         cssMap({
            maps: [varMap]
        })
    ];
}

error

/src/utils/styleUtils/vars/font.js:
export var baseFont = 16;
^^^^^^

SyntaxError: Unexpected reserved word

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.