git clone https://github.com/Jon-Millent/mi-shop.git
cd mi-shop
npm install & yarn
npm run serve
- 首页
- 推荐
- 手机
- 智能
- 电视
- 电脑
- 全面屏
- 生活周边
- 盒子
- 艺术
- 搜索
- 搜索商品
- 分类
- 搜索
- 购物车
- 结算(商品增删)
- 我的
- 商品详情
- 加入购物车
🌈xiaomi mobile mall.
Home Page: http://show.verydog.cn/mi
License: MIT License
git clone https://github.com/Jon-Millent/mi-shop.git
cd mi-shop
npm install & yarn
npm run serve
`
[email protected] dev /Users/liugrant/Documents/Tsingbegin/VueHealth
webpack-dev-server --inline --progress --config build/webpack.dev.conf.js
14% building modules 39/59 modules 20 active ...th/src/views/classification/index.vue{ parser: "babylon" } is deprecated; we now treat it as { parser: "babel" }.
94% asset optimization n
ERROR Failed to compile with 2 errors 下午1:12:46
error in ./src/views/detail/index.vue
Syntax Error: Unexpected token (110:4)
108 | },
109 | computed: {
110 | ...mapGetters([
| ^
111 | 'getShopCarLength'
112 | ])
113 | },
@ ./src/views/detail/index.vue 8:0-108 9:0-121
@ ./src/router/index.js
@ ./src/main.js
@ multi (webpack)-dev-server/client?http://0.0.0.0:8080 webpack/hot/dev-server ./src/main.js
error in ./src/App.vue
Syntax Error: Unexpected token (82:4)
80 | },
81 | computed: {
82 | ...mapGetters([
| ^
83 | 'nowStatus',
84 | 'getShopCarLength'
85 | ]),
@ ./src/App.vue 8:0-100 9:0-113
@ ./src/main.js
@ multi (webpack)-dev-server/client?http://0.0.0.0:8080 webpack/hot/dev-server ./src/main.js
`
These dependencies were not found:
gyp ERR! configure error
gyp ERR! stack Error: Can't find Python executable "python", you can set the PYTHON env variable.
gyp ERR! stack at PythonFinder.failNoPython (H:\gitLocal\vue\mi-shop\node_modules\node-gyp\lib\configure.js:483:19)
gyp ERR! stack at PythonFinder. (H:\gitLocal\vue\mi-shop\node_modules\node-gyp\lib\configure.js:508:16)
gyp ERR! stack at H:\gitLocal\vue\mi-shop\node_modules\graceful-fs\polyfills.js:284:29
gyp ERR! stack at FSReqWrap.oncomplete (fs.js:152:21)
gyp ERR! System Windows_NT 10.0.16299
gyp ERR! command "H:\procedure\node\install\node.exe" "H:\gitLocal\vue\mi-shop\node_modules\node-gyp\bin\node-gyp.js" "rebuild" "--verbose" "--libsass_ext=" "--libsass_cflags=" "--libsass_ldflags=" "--libsass_library="
gyp ERR! cwd H:\gitLocal\vue\mi-shop\node_modules\node-sass
gyp ERR! node -v v8.10.0
gyp ERR! node-gyp -v v3.6.2
gyp ERR! not ok
Build failed with error code: 1
npm WARN [email protected] requires a peer of ajv@^6.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] postinstall: node scripts/build.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] postinstall script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
建议采用 mockjs的形式,加载数据。你现在这样写出来的,我们很难改的,以后就只能写小米了。要写其他的,所有的页面都要改一遍。一点小建议。
在vivo手机上显示为空白页,锤子手机没问题
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.