All Projects → google → angular_cli

google / angular_cli

Licence: BSD-3-Clause License
No description or website provided.

Programming Languages

dart
5743 projects
HTML
75241 projects

Projects that are alternatives of or similar to angular cli

glips
screen clip to gif on web
Stars: ✭ 18 (-71.87%)
Mutual labels:  angulardart
parse server dart
Parse Server SDK for dart and flutter
Stars: ✭ 25 (-60.94%)
Mutual labels:  angulardart
FlutterFlare-Basic
Flare 2D Dimension.
Stars: ✭ 24 (-62.5%)
Mutual labels:  angulardart
platform info
Containts info about current platform such as Build mode and Operating system
Stars: ✭ 21 (-67.19%)
Mutual labels:  angulardart
angular quill
Angular dart component for the Quill rich text editor
Stars: ✭ 22 (-65.62%)
Mutual labels:  angulardart
Angular
Fast and productive web framework provided by Dart
Stars: ✭ 1,817 (+2739.06%)
Mutual labels:  angulardart
Bloc
A predictable state management library that helps implement the BLoC design pattern
Stars: ✭ 8,214 (+12734.38%)
Mutual labels:  angulardart
Inkino
A multiplatform Dart movie app with 40% of code sharing between Flutter and the Web.
Stars: ✭ 3,229 (+4945.31%)
Mutual labels:  angulardart
flashcards
FIT CTU · BI-SP1 · BI-SP2 · B172 · B181 – software team project
Stars: ✭ 35 (-45.31%)
Mutual labels:  angulardart

AngularDart CLI

Pub Package Build Status

A command line interface for AngularDart. It can scaffold a skeleton AngularDart project, component, and test with page object.

Installation

To install:

pub global activate angular_cli
pub global activate webdev

To update:

pub global activate angular_cli
pub global activate webdev

Usage

ngdart help

For help on specific command, run ngdart help [command name] For example:

ngdart help generate test

will show how to use command generate test.

Generating AngularDart project

ngdart new project_name
cd project_name
pub get
webdev serve

Navigate to http://localhost:8080 to visit the project you just built. Command following will assume that you are in the root directory of the project.

Generating component

ngdart generate component AnotherComponent

This command will generate component under folder lib/. You can use option -p to change the folder.

Generating test

ngdart generate test lib/app_component.dart

Command above will generate 2 files. One is page object file and the other one is test file. Test generated is using angular_test and test package.

Use command

pub run build_runner test --fail-on-severe -- -p chrome

to run generated test with Chrome.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].