garpunkal / frontend-boilerplate

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

README


Basic Usage

Install Node.js

Make sure you have unsintalled any pre-existing Node.js installations before installing NVM. Mac: Use Homebrew to install NVM Windows: Download NVM from https://github.com/coreybutler/nvm-windows.

Once NVM is installed, open your preffered terminal and run the following to install Node.js 12.16.3:

nvm install 12.x

Then activate node 12.x

nvm use 12.x

Install node modules

yarn

Run local server for PROXY and watch for changes

yarn start

Run local server for STATIC HTML and watch for changes

yarn start --static

Build production assets

yarn build

Build static HTML pages and proudction assets

yarn build --static

About


Languages

Language:CSS 47.3%Language:HTML 34.0%Language:TypeScript 11.2%Language:JavaScript 7.5%