GithubHelp home page GithubHelp logo

forkedit / angular_components_example Goto Github PK

View Code? Open in Web Editor NEW

This project forked from dart-archive/angular_components_example

0.0 2.0 0.0 413 KB

A sample usage of https://github.com/dart-lang/angular_components

Home Page: https://dart-lang.github.io/angular_components_example/

License: BSD 3-Clause "New" or "Revised" License

Dart 51.52% HTML 39.94% CSS 8.54%

angular_components_example's Introduction

These packages provide code generation for the AngularDart Components gallery.

This is repo now contains the initial release of two new experimental code generating packages.

angular_gallery

A package that generates a the gallery from each page that is generated by the angular_gallery_section package.

angular_gallery_section

A package that generates a gallery page containing documentation and examples from a @GallerySectionConfig annotation.

example

Contains individual examples for all the components as well as the base package of the entire gallery example/angular_components_example.

Development

As of angular: 5.0.0-alpha+5 the pub transformer has been removed in favor of code generation through package build. This package must be built with package build_runner.

Build

Build the entire gallery from the example/angular_components_example directory.

pub run build_runner build --output <output directory>

Serve

Run a local development server with a file watcher and incremental rebuilds:

pub run build_runner serve web

Both of the build and serve commands will accept --release to build with dart2js instead of the the default dartdevc.

Known Issues:

When building and viewing the gallery these issues are expected at this time:

  • Build Warnings:

    Generator does not support multiple @GallerySectionConfig annotations in a single lib directory.

  • Runtime Warning:

    SEVERE: OverlayService must be a singleton: Check that there is no nested overlayBindings or popupBindings

angular_components_example's People

Contributors

filiph avatar kevmoo avatar kwalrath avatar matanlurey avatar nshahan 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.