carrotlsp / vue-initialize

中小型 vue 项目初始化 包含 vue vuex axios router vue-awesome-swiper better-scroll的使用

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

my-project

vue2.5 + router + vuex + axios 的基础框架项目,可以快速初始化中小型 vue 项目.

用途

此项目是学习 DellLee 的 Vue2.5开发去哪儿网App 搭建的知识点框架项目.做好了大部分通用设置,可以直接用作基本开发框架使用.

第三方库的使用 demo

其中也集成了一些**和好用的第三方库的使用如:better-scroll vue-awesome-swiper

vue 的常见知识点

涉及到一些基本知识点的切换,可以看 git 提交历史即可获得这个项目中所有技术点:例如 transaction 的动画组局封装/循环递归组局完美解析展示服务端的递归数据/集成 reset.css border.css fastclick基本信息/用一个城市选择页面展示vue 对 dom 的操作方式/程序节流的算法/localStorage 和 vuex 结合使用/动态传参路由的实现/以及一些经常会遇到的坑解决方案.

Build Setup

# install dependencies
npm install

# serve with hot reload at localhost:8080
npm run dev

# build for production with minification
npm run build

# build for production and view the bundle analyzer report
npm run build --report

For a detailed explanation on how things work, check out the guide and docs for vue-loader.

About

中小型 vue 项目初始化 包含 vue vuex axios router vue-awesome-swiper better-scroll的使用


Languages

Language:JavaScript 44.9%Language:Vue 31.3%Language:CSS 23.1%Language:HTML 0.7%