- Notifications
You must be signed in to change notification settings - Fork2
Angular library with directives, components, services, and others that are easily incorporated into your project while still giving you full control over how it looks in your project.
License
pjlamb12/ngx-plug-n-play
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Thengx-plug-n-play
library is an Angular library that contains services, components, directives, pipes, etc that are easily implemented into any project. The goal is to provide functionality while not defining any default styles. Directives don't provide a template, so those will inherently use the styles defined by the user. Components will useng-template
,ng-content
, and other forms of transclusion so that the user can style components to match their application.
Demo Sites:
In both of these example apps, we used Bootstrap to make it look nice. However, this library does not require the use of Bootstrap or any other UI framework or requirements. You can use your own styles on all the elements.
npm i ngx-plug-n-play
Each module is exported, so only what's needed in a given application will be imported.
The library contains the following modules:
Runng serve
for a dev server. Navigate tohttp://localhost:4200/
. The app will automatically reload if you change any of the source files.
Runng generate component component-name --project=ngx-plug-n-play-lib
to generate a new component. You can also useng generate directive|pipe|service|class|guard|interface|enum|module
.
Runnpm run build
to build the project. The build artifacts will be stored in thedist/
directory. Use the--prod
flag for a production build.Runnpm run build:demo
to build the demo project andnpm run build:demo:prod
to build the demo project for production.Runnpm run build:lib
to build the library project andnpm run build:lib:prod
to build the library for production.
Runnpm run test
to execute the unit tests viaKarma.Runnpm run test:lib
to execute the unit tests for the library viaKarma.
Runnpm run e2e
to execute the end-to-end tests viaProtractor.
Pleasesubmit an issue for desired components or services or anything else to be added to the library or if any issues are found.
Thanks goes to these wonderful people (emoji key):
Preston Lamb | Wes Grimes 💻📖 |
This project follows theall-contributors specification. Contributions of any kind welcome!
About
Angular library with directives, components, services, and others that are easily incorporated into your project while still giving you full control over how it looks in your project.