https://github.com/habilelabs/angular-material-chrome-extension-seed
This is POC to create a chrome extension using angular material
https://github.com/habilelabs/angular-material-chrome-extension-seed
angular chrome-extension
Last synced: 2 months ago
JSON representation
This is POC to create a chrome extension using angular material
- Host: GitHub
- URL: https://github.com/habilelabs/angular-material-chrome-extension-seed
- Owner: habilelabs
- License: mit
- Created: 2019-01-02T09:52:16.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-01-03T07:45:19.000Z (over 7 years ago)
- Last Synced: 2026-01-14T19:29:20.986Z (5 months ago)
- Topics: angular, chrome-extension
- Language: TypeScript
- Size: 94.7 KB
- Stars: 0
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: License.txt
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# Angular(ng) Material Chrome Extension Seed
I am using angular cli as start. I clubbed it with angular (angular 2 formally known as angular) material (https://material.angular.io/)
## Why we created this seed
This is a quick start seed project for angular chrome extension using angular material UI.
This project demonstrate sample project structure, router and modular structure.
## Development server
Run `ng serve` for a dev server. Navigate to `http://localhost:4200/`. The app will automatically reload if you change any of the source files.
## Code scaffolding
Run `ng generate component component-name` to generate a new component. You can also use `ng generate directive|pipe|service|class|module`.
## Build
Run `npm run build` to build the project. The build artifacts will be stored in the `demo-ext/` directory. Use the `-prod` flag for a production build.
## Run extension in Browser
To install your extension into a Chrome browser, open Browser and navigate to the extension manager.
At the top, enable developer extension and navigate to your project unpacked extension directory (demo-ext for this case). Loading it should place the extension in your Chrome toolbar like any other extension.
## Running unit tests
Run `ng test` to execute the unit tests via [Karma](https://karma-runner.github.io).
## Running end-to-end tests
Run `ng e2e` to execute the end-to-end tests via [Protractor](http://www.protractortest.org/).
Before running the tests make sure you are serving the app via `ng serve`.
## Further help
To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI README](https://github.com/angular/angular-cli/blob/master/README.md).