02 2022 档案

摘要: 阅读全文
posted @ 2022-02-25 12:08 杨建鑫 阅读(11) 评论(0) 推荐(0) 编辑
摘要:在vue.config.js // module.exports = { // /** // * 此处为发行h5,微信小程序,app中删除console // * 如需显示console 需要注释此处重新运行 // */ // chainWebpack: (config) => { // // 发行 阅读全文
posted @ 2022-02-24 11:30 杨建鑫 阅读(87) 评论(0) 推荐(0) 编辑
摘要:vue3.0 : 使用CDN引入 <script src="https//unpkg.com/vue@next"></script> 使用npm引入 npm i vue@next install = i 安装yarn npm install --global yarn yarn -v node.js 阅读全文
posted @ 2022-02-19 20:58 杨建鑫 阅读(253) 评论(0) 推荐(0) 编辑
摘要:1.命名为 : ScreenAdapter 1920 * 1080 的 <template> <div class="ScreenAdapter" :style="style" > <slot /> </div> </template> <script> export default { name: 阅读全文
posted @ 2022-02-14 13:42 杨建鑫 阅读(851) 评论(0) 推荐(0) 编辑
摘要:第一步:rem.js文件 function setRem() { const baseSize = 32; // 32 const scale = document.documentElement.clientWidth / 750; // 750 document.documentElement. 阅读全文
posted @ 2022-02-14 10:53 杨建鑫 阅读(182) 评论(0) 推荐(0) 编辑
摘要:new Date( +new Date() + 8 * 3600 * 1000 ).toJSON().substr(0,19).replace("T"," ") 阅读全文
posted @ 2022-02-11 11:45 杨建鑫 阅读(27) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示