Skip to content

一个基于Vue、vuex、axios、vue-router的电商项目模板

Notifications You must be signed in to change notification settings

liwudi/VueProject

Repository files navigation

app

A Vue.js project

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

# run unit tests
npm run unit

# run e2e tests
npm run e2e

# run all tests
npm test

Related documents

相关文档

vue-router文档 https://router.vuejs.org/zh-cn/

ElementUi http://element-cn.eleme.io/#/zh-CN

axiox中文使用文档 https://www.kancloud.cn/yunye/axios/234845

moment中文文档 http://momentjs.cn/docs/

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

A structure of this Project

项目结构

main.js(入口文件)

config.js(全局配置文件)

App.vue(项目根组件)

views(项目界面)

loginRegister(登录注册界面)

main(主页面)

changePassword(修改密码)

utils(公共函数和方法)

style(样式文件)

store(vuex文件夹)

services(服务封装)

router(路由配置)

components(公共组件)

asset(图片、图标等)

About

一个基于Vue、vuex、axios、vue-router的电商项目模板

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published