mingomax / cubo-ui

UI components to using on Angular

Home Page:http://cubonetwork.github.io/cubo-ui

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cubo UI

UI components to using on Angular

Travis license GitHub contributors

This project uses Angular as framework and Angular Material for basic UI components.

Getting Started

Application

# install dependencies
$ npm i

# Run the project
$ npm start

To generate schematics

Generate a component

ng generate cubo-schematics:component componentName

Generate a page

ng generate cubo-schematics:page pageName

With the commands above, you have everything to start.

Lib

Generate a new release

# generate a build
npm run build:lib

# publish new release
cd projects/lib/dist
npm publish

Code Standards

This project uses Cubo Coding Style as code reference.

Tasks

From Application

  • npm start: run all tasks, initialize watch for changes and a starts a server
  • npm run build: run all production tasks and create a dist folder to deploy
  • npm run lint: lint for javascript and css
  • npm run fix: command to fix all eslint errors
  • npm run deploy: run all build tasks and deploy on gh-pages

From Lib

  • npm run build:lib: run all lib tasks and create a dist folder to deploy
  • npm run deploy:lib: run all build tasks to lib and deploy on npm

License

MIT License © Cubo 2018

About

UI components to using on Angular

http://cubonetwork.github.io/cubo-ui

License:MIT License


Languages

Language:TypeScript 55.4%Language:HTML 23.9%Language:CSS 19.8%Language:JavaScript 0.9%