@manpacker/generator-vue
v1.10.0
Published
Generator vue frontend build project
Downloads
1
Maintainers
Readme
Explain
@manpacker/generator-vue is a set of build engine based on @manpacker/generator to build engine package. Entry file supported file extension js or ts Support for multi-portal file build, Files must be in the build root directory.
Consult
Install
npm i @manpacker/generator-vue -D
Usage
CLI
Start the local development environment.
manpacker-vue server
manpacker-vue server --ic [value] -c [config] --port [number]
Construction of production environment engineering project.
manpacker-vue build
manpacker-vue build --ic [value] -c [config]
.manpackeric
Default root file name: .manpackeric Configuration item description: Expand:
|name|type|value|description| |----|----|-----|-----------| |isVueProvide|boolean|default: true|Automatically provide Vue references| |isComponentModel|boolean|default: false|Whether or not references are automatically vue-class-component provided.|
isVueProvide
{ isVueProvide: false }
Every file need import Vue from 'vue'
isComponentProvide
{ isComponentProvide: true }
Every file no need: import Component from 'vue-class-component' Global varable Component