[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-3430":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":9,"language":10,"languages":9,"totalLinesOfCode":9,"stars":11,"forks":12,"watchers":13,"openIssues":14,"contributorsCount":15,"subscribersCount":15,"size":15,"stars1d":15,"stars7d":15,"stars30d":16,"stars90d":15,"forks30d":15,"starsTrendScore":15,"compositeScore":17,"rankGlobal":9,"rankLanguage":9,"license":9,"archived":18,"fork":18,"defaultBranch":19,"hasWiki":20,"hasPages":18,"topics":21,"createdAt":9,"pushedAt":9,"updatedAt":22,"readmeContent":23,"aiSummary":24,"trendingCount":15,"starSnapshotCount":15,"syncStatus":25,"lastSyncTime":26,"discoverSource":27},3430,"lib-flexible","amfe\u002Flib-flexible","amfe","可伸缩布局方案",null,"JavaScript",12522,3415,510,14,0,3,45,false,"2.0",true,[],"2026-06-12 02:00:50","# amfe-flexible\n\n[Classic edition (0.3.2)](https:\u002F\u002Fgithub.com\u002Famfe\u002Flib-flexible\u002Ftree\u002Fmaster)\n\n> 由于`viewport`单位得到众多浏览器的兼容，`lib-flexible`这个过渡方案已经可以放弃使用，不管是现在的版本还是以前的版本，都存有一定的问题。建议大家开始使用`viewport`来替代此方。\n## Usage\n\n#### Install\n\n`npm i -S amfe-flexible`\n\n#### Import\n\n```html\n\u003Cmeta name=\"viewport\" content=\"width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no\">\n\u003Cscript src=\".\u002Fnode_modules\u002Famfe-flexible\u002Findex.js\">\u003C\u002Fscript>\n```\n\nYou can inline this file with [inline-source](https:\u002F\u002Fnpmjs.org\u002Fpackage\u002Finline-source).\n\n#### Develop\n\nUse [postcss-adaptive](https:\u002F\u002Fwww.npmjs.com\u002Fpackage\u002Fpostcss-adaptive).\n\n## License\n\n(The MIT License)\n\nCopyright (c) 2016 Alibaba MFE\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the 'Software'), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and\u002For sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n","amfe\u002Flib-flexible 是一个用于实现可伸缩布局的JavaScript库。它通过调整HTML根元素的font-size来适应不同设备屏幕尺寸，使得网页在各种分辨率下都能保持良好的显示效果。该项目支持使用PostCSS插件postcss-adaptive进行开发，便于开发者快速构建响应式设计。尽管随着viewport单位被广泛支持，官方建议转向更现代的方法，但在需要兼容旧版浏览器或特定项目需求时，lib-flexible仍然是一个有效的解决方案。适用于希望简化移动Web应用适配工作的前端开发者。",2,"2026-06-11 02:54:23","top_language"]