vue-cli-plugin-consoler

0.1.8 • Public • Published

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.

Package Sidebar

Install

npm i vue-cli-plugin-consoler

Weekly Downloads

116

Version

0.1.8

License

MIT

Unpacked Size

2.09 MB

Total Files

132

Last publish

Collaborators

  • ideastone