Skip to content
This repository has been archived by the owner on Apr 6, 2023. It is now read-only.

Neverbland/neverbuild

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Neverbuild

⚠️ Warning! Breaking change with SVG Sprite Loader, read this!

To use an SVG sprite, you should now do like the following: https://github.com/Neverbland/neverbuild/blob/master/src/components/header.js#L9 This is due to a change on SVG Sprite Loader.

Kickstarts a new React app

The Webpack configuration sits in our Create React App fork for easier maintainability.

This repository is intended to replace the /template folder of Create React App.

This package includes scripts and configuration used by Create React App.
Please refer to its documentation:

  • User Guide – How to develop apps bootstrapped with Create React App.

Features

Getting started

npm install or yarn start

Install the project.

npm start or yarn start

Runs the app in development mode.
Open http://localhost:3000 to view it in the browser.

npm run build or yarn build

Builds the app for production to the build folder.
It correctly bundles React in production mode and optimizes the build for the best performance.

The build is minified and the filenames include the hashes.
By default, it also includes a service worker so that your app loads from local cache on future visits.

Writing JS

We use EditorConfig for code consistency. Please see below to add support to your editor.

Writing CSS

We use BEM across our projects.

Testing

  • Lint SCSS: npm run lint:scss

Polyfills

We use Polyfill.io to polyfill missing Javascript functionality. Simply add any missing functionality by appending the polyfill.io url in src/public/index.html with the feature you need.

Recommended Tools

License

MIT license