Skip to content

F-loat/mpvue-quickstart

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mpvue-quickstart

fork 自 vuejs-templates/webpack 修改而来

tree

基本用法

$ npm install -g @vue/cli @vue/cli-init
$ vue init F-loat/mpvue-quickstart my-project
$ cd my-project
$ npm install
$ npm run dev

主要特性

  • 移除 express 等无关依赖
  • 引入 mpvue-entry,移除冗余的 main.js 文件
  • 引入 mpvue-router-patch,支持使用类 vue-router 的 api
  • 引入 vant-weapp,全局配置原生组件库,快速搭建页面
  • 支持官方分包(mpvue-loader@^1.1.0),简化配置方式
  • 支持 standard 及 airbnb 两种默认 eslint 配置

详细文档请查阅

About

🐱‍👤 更优雅的 mpvue 起手式

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 74.5%
  • Vue 24.5%
  • Shell 1.0%
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy