Skip to content

Commit

Permalink
Rename package to ng-fire-admin
Browse files Browse the repository at this point in the history
fire-admin name is already taken
  • Loading branch information
AXeL-dev committed Mar 22, 2020
1 parent 0650679 commit cfff301
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# FireAdmin

[![NPM version](https://img.shields.io/npm/v/fire-admin)](https://www.npmjs.com/package/fire-admin)
[![Downloads](https://img.shields.io/npm/dt/fire-admin)](https://www.npmjs.com/package/fire-admin)
[![License](https://img.shields.io/npm/l/fire-admin)](LICENSE)
[![NPM version](https://img.shields.io/npm/v/ng-fire-admin)](https://www.npmjs.com/package/ng-fire-admin)
[![Downloads](https://img.shields.io/npm/dt/ng-fire-admin)](https://www.npmjs.com/package/ng-fire-admin)
[![License](https://img.shields.io/npm/l/ng-fire-admin)](LICENSE)

A minimalistic headless CMS around Angular & Firebase.

Expand Down Expand Up @@ -30,7 +30,7 @@ A minimalistic headless CMS around Angular & Firebase.
## Installation

```
npm install --save fire-admin
npm install --save ng-fire-admin
```

## Usage
Expand Down Expand Up @@ -61,7 +61,7 @@ npm install --save fire-admin
import { NgModule } from '@angular/core';

import { AppComponent } from './app.component';
+ import { FireAdminModule } from 'fire-admin';
+ import { FireAdminModule } from 'ng-fire-admin';
+ import { environment } from '../environments/environment';

@NgModule({
Expand All @@ -85,7 +85,7 @@ npm install --save fire-admin
const routes: Routes = [
+ {
+ path: 'admin',
+ loadChildren: () => import('fire-admin').then(m => m.FireAdminModule)
+ loadChildren: () => import('ng-fire-admin').then(m => m.FireAdminModule)
+ },
+ {
+ path: '**',
Expand Down
2 changes: 1 addition & 1 deletion projects/fire-admin/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "fire-admin",
"name": "ng-fire-admin",
"version": "0.0.1",
"description": "A mini headless CMS around Angular & Firebase.",
"keywords": [
Expand Down

0 comments on commit cfff301

Please sign in to comment.