Testing Angular Material UI framework and npm/gulp app builds
Make sure you have npm
and gulp
installed on your system:
npm -v
gulp -v
First, install dependencies:
npm install
Build css and js vendor files by running just gulp
or with:
npm run build-vendor
Next, build js application by running:
npm run build-app
This will create public/css/build.css
and public/js/build.js
files, which are already included in the public/index.html
.
Each time you change something under app/
folder, application needs to be built again. There is a command which builds application automatically when you save any working file:
npm run watch-app
Entry point for angular application is located in app/main.js
. From there on, custom built modules are included, so feel free to change it and structure application for your own needs.
Also, there is custom css file app/assets/style.css
, where you can set your own style changes. File is also included in gulp
build, build you will have to run gulp
or npm run build-vendor
each time when you add css in it.
Point your domain root to public/index.html, which is the main enty point for the application.
- AngularMaterial - UI framework
- AngularJS - Js framework (Angular 1 is used)
- npm - Package manager
- gulp - Build and automation tool
- Vicko Franić - Initial app - GitHub