Boilerplate to get quickly up and running with prototyping frontend work.
-
Download the package or clone the repository:
git clone git@github.com:hoksa/nopea.git
-
Install dependencies:
yarn
To start developing run:
gulp
This will start a development server that will listen to any files and automatically refresh the browser.
This boilerplate is barebones by design, however it does come with postcss-preset-env included. The plugin allows you to use the latest CSS syntax safely, for example automatic vendor prefixing and storing commonly used values to variables, and much more.
For more information check the plugin website.
Important! Make sure you write and/or include your styles in src/precss/styles.css
. This is the source file the processors use for compiling.