@vicoders/generator

A blank schematics

Usage no npm install needed!

<script type="module">
  import vicodersGenerator from 'https://cdn.skypack.dev/@vicoders/generator';
</script>

README

Vicoders Generator

Generator package for Vicoders CLI

Installation

This package is a part of @vicoders/cli, it can be used by Vicoders CLI only.

Install Vicoders CLI as global service

Using npm

npm install -g @vicoders/cli
```

Using yarn

```
yarn global add @vicoders/cli
```

> After Vicoders CLI is installed you can use some command line `vcc`, `vcsupport`, `vcinstall` and `vcgenerate`. We are focusing on `vcgenerate` and `vcinstall` in this article.

Install generator inside your project

Using npm

```
npm install @vicoders/generator --save-dev
```

Using yarn

```
yarn add @vicoders/generator --dev
```

## How to use

### With Angular

#### Generate Angular Component

Type the following command and follow the instruction.

> This command available in an Angular project only.

```
vcgenerate angular --name="your component name"
```

### With Laravel

#### Install Package

Type the following command and follow the instruction.

> This command available in an Laravel project only.

```
vcinstall laravel
```

#### Generate RESTful API

Type the following command and follow the instruction.

```
vcgenerate laravel
```