Skip to content

Latest commit

 

History

History
35 lines (22 loc) · 1019 Bytes

README.md

File metadata and controls

35 lines (22 loc) · 1019 Bytes

Front End Base

Base boilerplate (ish) files from which to start a front-end app. Cobbled together from various jobs and side projects to get something that is at least an optimal starting point for most projects and uses my preferred libraries.

Currently, this is mostly config for Git, NPM, Webpack, Babel, PostCSS, and Browserslist. It also includes some starter files like polyfills.

Table of Contents

I. Front End Development
II. Further Reading

Front End Development

Installing

npm install

Using the Environment

See the maidfile for a list of tasks available

Installing New Packages

  1. npm i -D <package_name> will install and save a package as a dev dependency
    • npm i -S <package_name> will install and save a package as a prod dependency
  2. import the package where needed in the code

Further Reading

  1. Webpack Docs
  2. NPM docs