- Node.js v5.10 or greater
- npm v2.11.1 or greater
To get started you'll need to install the devDependencies for this project. In the project root folder type:
$: npm install
Flex Navbar uses webpack v3.10.0 for production builds and webpack-dev-server v2.11.1 for development and serving files on http://localhost:9000
In the project root folder, using terminal enter:
$: npm run dev
Navigate to to http://localhost:9000 in your web browser.
webpack-dev-server is configured to reload the browser upon saving files in the src/ directory
In the project root foler, using terminal enter:
$: npm run build
Production builds are generated by webpack and stored in the build/ folder.
By default Production and Development builds use:
-
babel to transpile ES2015+ JavaScript to support IE 9 and above.
-
UglifyJS Webpack Plugin to minify your JavaScript.
-
css-loader to minify your CSS.