GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - ly2011/vue2-vant: vue2 + unplugin-auto-import + @vue/composition-api

BranchesTags
Open more actions menu

Latest commit

 

History

49 Commits
49 Commits

Folders and files

NameName
Last commit message
Last commit date
.github/workflows
.github/workflows
 
 
presets
presets
 
 
public
public
 
 
src
src
 
 
.browserslistrc
.browserslistrc
 
 
.editorconfig
.editorconfig
 
 
.eslintignore
.eslintignore
 
 
.eslintrc.js
.eslintrc.js
 
 
.gitignore
.gitignore
 
 
.prettierignore
.prettierignore
 
 
.prettierrc.js
.prettierrc.js
 
 
CubeModule.json
CubeModule.json
 
 
README.md
README.md
 
 
babel.config.js
babel.config.js
 
 
changelog.config.js
changelog.config.js
 
 
jsconfig.json
jsconfig.json
 
 
package.json
package.json
 
 
postcss.config.js
postcss.config.js
 
 
vue.config.js
vue.config.js
 
 
yarn.lock
yarn.lock
 
 

Repository files navigation

基于Vue2+vant移动端项目

特性

  • git commit message 校验
  • 移动端样式自适应(vw/vh)
  • lodash体积优化
  • webpack5
  • 支持自动导入vant组件
  • 支持 <script setup> 语法

使用教程

样式必须使用 less

运行

强制使用 yarn 来安装依赖包

yarn install

# 启动
yarn serve

# 测试环境打包
> 打包前需手动更改 CubeModule.json 配置 testVersion,小版本号+1
yarn build

# 生产环境打包
> 打包前需手动更改 CubeModule.json 配置 productVersion,小版本号+1
yarn prod

项目目录规范

|- src: 平时开发的文件都在这里
    |- assets: 存放静态资源
    |- components: 存放公共组件(分为基础组件和业务组件)
    |- config: 存放全局的配置信息
    |- store: 存放全局的数据中心
    |- pages: 存放页面文件
    |- services: 存放全局的数据请求
    |- styles: 全局的样式
    |- utils: 存放公共方法
    |- main.js: 入口文件
    |- CubeModule.json: APP版本管理

风格指南请参照 Vue官方风格指南

About

vue2 + unplugin-auto-import + @vue/composition-api

ly2011.github.io/vue2-vant/

Resources

Readme
Activity

Stars

3 stars

Watchers

2 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.