vue2.0 仿蘑菇街

Vue2.0 仿蘑菇街

项目地址:
github

可以这样用

登录一下
《vue2.0 仿蘑菇街》

左边右边都会滚滚滚的分类啦
《vue2.0 仿蘑菇街》

喜欢就点个小星星
《vue2.0 仿蘑菇街》

《vue2.0 仿蘑菇街》

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 detailed explanation on how things work, checkout the guide and docs for vue-loader.

  • 主要技术栈

    • vue2.0(数据绑定)
    • vue-router(SPA)
    • vuex
    • es6、html5、css3
    • axios
  • 组件库
    mint-ui

目录

|
|—— build 
|—— config
|——src : dev resources.
| |—— assets/
| |    |____css
| |    |____images    
| |—— public/ 公共组件
| |    |____ BottomNav.vue
| |    |____ SearchBar.vue     
| |    |____ TabBar.vue  
| |    |____ sidebar.vue  
| |—— page
| |    |____ cart
| |    |____ category
| |    |____ good
| |    |____ mainframe
| |    |____ mine
| |—— router/
| |    |____ index.js 路由映射
| |—— store/ 
| |    |____ store.js
| |—— App.vue :neteast-yanxuan SPA
| |__ main.js : the entry of douban-movieSPA
|
|__ static : static files
    原文作者:风吹一个小月亮
    原文地址: https://segmentfault.com/a/1190000009972674
    本文转自网络文章,转载此文章仅为分享知识,如有侵权,请联系博主进行删除。
点赞