https://github.com/jvitor83/ionic-crud-schematics
https://github.com/jvitor83/ionic-crud-schematics
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/jvitor83/ionic-crud-schematics
- Owner: jvitor83
- License: mit
- Created: 2018-08-17T06:58:52.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2018-11-30T04:02:21.000Z (over 6 years ago)
- Last Synced: 2025-02-06T10:13:53.190Z (5 months ago)
- Language: TypeScript
- Size: 73.2 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# Schematics - jvitor83/ionic-crud-schematics
### Install the tools
- Install [Node.js](https://nodejs.org/en/download/)
```bash
npm i -g @angular/cli ionic
```### Create your project
```bash
ionic start --type=angular MyProject
cd MyProject
```## Install:
```bash
npm install --save-dev jvitor83/ionic-crud-schematics
```## Configure:
```bash
ng config cli.defaultCollection @jvitor83/ionic-crud-schematics
```## Import module `HttpClientModule` at `app.module.ts`
```typescript
...
import { HttpClientModule } from '@angular/common/http';
...
@NgModule({
imports: [
HttpClientModule
...
]
...
```## Generate:
```bash
ng g crud --name=breweries --url=https://api.openbrewerydb.org/breweries --force
```