Skip to content
VUE淘宝优惠券APP,线上接口,开箱可用,完成商品优惠券领取!
Vue JavaScript CSS HTML
Branch: master
Clone or download
Latest commit 077945d Jul 31, 2019

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
build 添加收藏功能 Sep 28, 2018
config 更换跨域接口 Jul 31, 2019
src 更换跨域接口 Jul 31, 2019
static 部分截图 Sep 30, 2018
.babelrc initialize Sep 17, 2018
.editorconfig initialize Sep 17, 2018
.eslintignore initialize Sep 17, 2018
.eslintrc.js initialize Sep 17, 2018
.gitignore initialize Sep 17, 2018
.postcssrc.js initialize Sep 17, 2018
README.md 可前往查看同款APP Mar 13, 2019
index.html 添加首页骨架屏 Oct 29, 2018
package-lock.json 更换跨域接口 Jul 31, 2019
package.json 添加首页骨架屏 Oct 29, 2018
skeleton.js 添加首页骨架屏 Oct 29, 2018
webpack.skeleton.conf.js 添加首页骨架屏 Oct 29, 2018

README.md

taobao

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

# 生成挂架屏json
webpack --config ./webpack.skeleton.conf.js

# 骨架屏注入
node skeleton.js

#注意,作为模板的html文件,需要在被写入内容的位置添加<!--vue-ssr-outlet-->占位符,本例子在div#app里写入:

<div id="app">
 <!--vue-ssr-outlet-->
</div>

效果演示

查看demo请戳这里(请用chrome手机模式预览,配置网络浏览器)

温馨提示

同款APP已经上线,可去下载查看

请在谷歌网络浏览器下预览,解决axios跨域问题请在后端配置 windows谷歌浏览器属性目标后添加 --user-data-dir="c:\ChromeDebug" --test-type --disable-web-security

请在谷歌网络浏览器下预览,解决axios跨域问题请在后端配置 mac 命令行打开谷歌浏览器open -n /Applications/Google\ Chrome.app/ --args --disable-web-security --user-data-dir=自定义存储位置

###部分截图事例

You can’t perform that action at this time.