2.0.3 • Published 2 years ago

sgv-cli v2.0.3

Weekly downloads
40
License
MIT
Repository
github
Last release
2 years ago

SGV

SGV(Smart Grand Visual) is a scaffolding of Vue projects(typescript).

Getting Started

npm i -g sgv-cli
sgv init <project name>
cd <project name>
npm i
npm run dev

Features

Initialize a project

sgv init <project name>

In this process, you can choose PC or mobile

Build and Remove Page

If you want add new page

sgv build -p <page name>

If you want remove existing page.(todo)

sgv remove -p [page name]

Build and Remove Component

If you want add new component

sgv build -c <component name>

If you want remove existing component.(todo)

sgv remove -c <component name>

Build Service

sgv build -s <service name>

Build Function Of Service

sgv build -s <service name> -f <function name>

Step1:

? What request methods will you use in service user? (Use arrow keys)
❯ GET 
  POST 
  DELETE 
  PUT 

Step2:

? Do you want to provide a new path? (/logout) 

If there are multiple modules:

? Which module does this path belong to? (Use arrow keys)
❯ api 
  user

If there is more than one host.

? Which host should this function access? (Use arrow keys)
❯ default 
  user

Step3:

? Do you want to add some parameters of this function? (y/N) 

If choose Yes:

? Please enter parameter name: userName
? Please choose a valid parameter type: 
  1) string
  2) number
  3) any
  Answer: 1

If you want to continue adding, please type yes.

? Please enter a valid parameter type: StringKeyword
? Do you want to continue adding? (y/N) 

help

sgv --help
2.0.3

2 years ago

2.0.2

3 years ago

2.0.1-beta.2

3 years ago

2.0.0-beta.2

3 years ago

2.0.1-beta.3

3 years ago

2.0.1-beta.0

3 years ago

2.0.1-beta.1

3 years ago

2.0.1-beta.6

3 years ago

2.0.1

3 years ago

2.0.1-beta.4

3 years ago

2.0.0-beta.4

3 years ago

2.0.1-beta.5

3 years ago

2.0.0-beta.3

3 years ago

2.0.0

3 years ago

2.0.0-beta.1

3 years ago

2.0.0-beta.0

3 years ago

1.1.10

4 years ago

1.1.9

5 years ago

1.1.8

5 years ago

1.1.7

5 years ago

1.1.6

5 years ago

1.1.5

5 years ago

1.1.4

6 years ago

1.1.3

6 years ago

1.1.2

6 years ago

1.1.1

7 years ago

1.1.0

7 years ago

1.0.13

7 years ago

1.0.12

7 years ago

1.0.11

7 years ago

1.0.10

7 years ago

1.0.9

7 years ago

1.0.8

7 years ago

1.0.7

7 years ago

1.0.6

7 years ago

1.0.5

7 years ago

1.0.4

7 years ago

1.0.3

7 years ago

1.0.2

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago