预览地址 https://yinzhuo19970516.github.io/shopping/ 购物网站模板,用了HTML和CSS布局,类似圣杯布局,做得很费劲,以后会尝试用flex,共完整地做了2个页面,一个主页面和一个商品详情页面,后期会加登陆注册和个人页面,主页面用了swift实现轮播图效果,用了axios 获取网络请求,详情页面做了counter downmenu radios 一些公共组件,在以后项目用得上,然后用vue实现了一个简单的价格计算
A Vue.js project
# 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.