xys-flexible

Build flexible page on mobile platform

Usage no npm install needed!

<script type="module">
  import xysFlexible from 'https://cdn.skypack.dev/xys-flexible';
</script>

README

xys-flexible

基于淘宝的flexible做了最大宽度限制和rem基数改变的项目

使用

package.json

在package.json里增加这个包

"dependencies": {
    "xys-flexible": "git+http://gitlab.xinhulu.com/jerryzhang/flexible.git"
}

npm i

重新安装依赖

import

import 'xys-flexible/index.min'