Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
This repository was archived by the owner on Apr 14, 2023. It is now read-only.

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

NotificationsYou must be signed in to change notification settings

pjlamb12/ngx-plug-n-play

Repository files navigation

All Contributors

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.

Installation

npm i ngx-plug-n-play

More Info

Each module is exported, so only what's needed in a given application will be imported.

The library contains the following modules:

Developing Locally

Development server

Runng serve for a dev server. Navigate tohttp://localhost:4200/. The app will automatically reload if you change any of the source files.

Code scaffolding

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.

Build

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.

Running unit tests

Runnpm run test to execute the unit tests viaKarma.Runnpm run test:lib to execute the unit tests for the library viaKarma.

Running end-to-end tests

Runnpm run e2e to execute the end-to-end tests viaProtractor.

Contributions

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
Preston Lamb

⚠️💻
Wes Grimes
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.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp