VickoFranic / angular-material-test-app

Testing Angular Material UI framework

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Angular Material Test App

Testing Angular Material UI framework and npm/gulp app builds

Prerequisites

Make sure you have npm and gulp installed on your system:

npm -v
gulp -v

Installing

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.

Workflow

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

Application structure

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.

Deployment

Point your domain root to public/index.html, which is the main enty point for the application.

Built With

Authors

  • Vicko Franić - Initial app - GitHub

About

Testing Angular Material UI framework


Languages

Language:JavaScript 59.8%Language:HTML 37.5%Language:ApacheConf 2.7%