Skip to content

ideaspace/vue-cli-plugin-consoler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

51 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

vue-cli-plugin-consoler

Front end boilerplate init plugin for @vue/cli 3.0.

Use the project https://github.com/ideaspace/vue-console-boilerplate

Install

First you need to install @vue/cli globally (follow the instructions here).

Then create a project and add the Consoler plugin:

vue create my-app
cd my-app
vue add consoler

This will update and add the files in your project, then you can use npm run serve command to serve your app.

Create file via CLI

npm run new:viewr test      => @/views/test/index.vue,  @/views/test/test.router.ts
npm run new:view test/ab    => @/views/test/ab.vue & update test.router.ts
npm run new:comp test/ab    => @/views/test/comps/Ab.vue
npm run new:dialog test/ab  => @/views/test/dialogs/Ab.vue 
npm run new:module test     => @/views/test/test.module.ts 
npm run new:api test        => @/apis/test.ts

The Consoler plugin is integrated hygen to provide you with quicker creating file.

About

Front end boilerplate init plugin for @vue/cli 3.0

Resources

License

Stars

Watchers

Forks

Packages

No packages published