FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

chans-open-source/optimize-vue: 基于 vue-cli 3.0 构建的快速开发框架 · GitHub

Latest commit

 

History

27 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

optimize-vue

Install Cli

npm i -g optimize-vue-cli

Create Project

vues create <project-name>
// eg: vues create demo

Init Project

// Install vue-cli-3.0 at first.
npm install -g @vue/cli

// Open Project Dir
cd <project-name>

// Init
yarn install 

Add Module

Remark: Used in the project root directory.

vues add -m <module-title> -p <module-path>
// eg: vues add -m module1 -p /mobile/page/index
// Html-Title: module1
// Html-Url: localhost:port/mobile/page/index

Add Component

Remark: Used in the project root directory.

vues add -c <component-path>
// eg: vues add -c /home/index

Project setup

yarn install

Compiles and hot-reloads for development

yarn run serve

Compiles and minifies for production

yarn run build

Run your tests

yarn run test

Lints and fixes files

yarn run lint

Customize configuration

See Configuration Reference.

See Cli Information

About

基于 vue-cli 3.0 构建的快速开发框架

Topics

Resources

Stars

4 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages


Back | FazBrowse Home | New Git URL