generator-vuemobilesimple

0.1.3 • Public • Published

vue-mobile-simple


Installation

Using npm:

$ npm install -g yo
$ npm install -g generator-vuemobilesimple
$ yo vuemobilesimple

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  

Readme

Keywords

Package Sidebar

Install

npm i generator-vuemobilesimple

Weekly Downloads

2

Version

0.1.3

License

MIT

Unpacked Size

43.6 kB

Total Files

42

Last publish

Collaborators

  • ~xl