This will be a collection of OpenSource components for various Angular.io related things.
An angular service meant to wrap the JavaScript phoenix client while adding an rxjs Subject to it.
Run ng serve <project-name> [-c <config-name>]
for a dev server for a specific application project. Navigate to http://localhost:4200/
. Omitting <project-name>
will attempt to serve the default project, which might not be an application but a library project, at which point it will fail with the error An unhandled exception occurred: No projects support the 'serve' target
. The app will automatically reload if you change any of the source files.
To develop a library project on the other hand you would run ng test --project <project-name>
to only run the current library project's tests. Omitting the project flag will run all tests.
Run ng generate --project <project-name> component component-name
to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module
. Omitting --project <project-name>
will create the resource in the default project set in the angular.json file.
Run ng build <project-name>
to build the project with name <project-name>
. Omitting <project-name>
will build the default project in the angular.json file. The build artifacts will be stored in the dist/
directory. Use the --prod
flag for a production build.
Run ng test [<project-name>]
to execute the unit tests via Karma, where if you omit <project-name>
it will run all tests in all subprojects.
See LICENSE
To get more help on the Angular CLI use ng help
or go check out the Angular CLI README.