i-material / 制作物webview
项目概述
# 該微站对接两端:
1,租户端 2,供应商端
# 路由:
根据进入角色走不同路由即要有两套路由
# 项目分布:
全局公用組件 / components,
全局公用方法 / commen,
租戶展示页面 / views==>tenant,
供应商展示页面 / views==>supplier,
页面组合模块 / module==>(以对应页面为文件夹名称)
项目结构
|--src // 源码
----api // http请求及api
----assetss // 静态文件
----common // 全局方法
----components // 全局组件
----mock // mock数据
----module // views的构成模块
----router // 路由
----views // webApp构成页面
----tenant // 由租户APP(辉瑞,诺华,艾尔建。。。)进入展示的页面
----supplier // 由供应商进入展示的页面
----store // vuex状态管理
----app.vue // vue入口文件
----main.js // 项目入口
doc文档
For a detailed explanation on how things work, check out the guide and docs for vue-loader.