Giter Site home page Giter Site logo

braincrumbz / ng2-aot-color-picker-sample Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 75 KB

Sample project of (modified) angular 2 color picker library working in AOT build

License: MIT License

HTML 6.63% TypeScript 40.92% CSS 49.31% JavaScript 3.14%

ng2-aot-color-picker-sample's Introduction

ng2-aot-color-picker-sample

Sample project of (modified) angular 2 color picker library working in AOT build.

This repository is based off of angular 2 seed. That was lacking an AOT build, which has then been added here.

Original library has been copied and modified locally at \src\app\angular2-color-picker\. Please head to \src\app\angular2-color-picker\README.md to get the initial commit where this copy was forked from, and a summary of the (relatively few) applied changes.

To create an AOT build, run:

npm run build-aot

To build and serve as AOT, run (watch out the final r):

npm run server-aot

Open browser to http://localhost:3000, then head to Contact page from navigation menu. Last field, Color, is the one with color picker directive.

Rest of the page shows the original seed project readme.

angular2-seed

A simple starter project demonstrating the basic concepts of Angular 2.

Usage

  • Clone or fork this repository
  • Make sure you have node.js installed version 5+
  • Make sure you have NPM installed version 3+
  • WINDOWS ONLY run npm install -g webpack webpack-dev-server typescript to install global dependencies
  • run npm install to install dependencies
  • run npm start to fire up dev server
  • open browser to http://localhost:3000
  • if you want to use other port, open package.json file, then change port in --port 3000 script

ng2-aot-color-picker-sample's People

Contributors

braincrumbz avatar giuseppepiscopo avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.