0.0.8 • Published 5 years ago
vue-mobile-simple v0.0.8
vue-mobile-simple
Installation
Using npm:
$ npm i vue-mobile-simple
Mend
1.增加了单位适配(rem)
12px => 0.12rem
55.2px => 0.552rem
750px => 7.5rem
2.封装了原生的XMLHttpRequest的promise,可以通过async/await 调用;
3.封装了toast组件,动态引动调用;
4.封装了promise的getCookie/setCookie、Timer等方法;
5.增加了getParam、moblieType等utils
...
configuration
├── build/
│ └── ...
├── config/
│ ├── index.js
│ └── ...
├── src/
│ ├── main.js
│ ├── App.vue
│ ├── components/
│ │ └── index
│ │ ├── image
│ │ └── item.vue
│ └── assets/
│ └── ...
├── node_modules
├── static/
├── test/
│ └── unit/
│ │ ├── specs/
│ │ ├── index.js
│ │ └── karma.conf.js
│ └── e2e/
│ │ ├── specs/
│ │ ├── custom-assertions/
│ │ ├── runner.js
│ │ └── nightwatch.conf.js
├── .babelrc
├── .postcssrc.js
├── .eslintrc.js
├── .editorconfig
├── index.html
└── package.json