会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
大东在路上
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
7
8
9
10
···
20
下一页
2024年9月17日
通过vscode 创建uniapp项目
摘要: 一、创建项目 uniapp官网教程 控制台命令: npx degit dcloudio/uni-preset-vue#vite <projectName> npm i 二、使用vscode运行项目
阅读全文
posted @ 2024-09-17 10:30 蜗牛般庄
阅读(224)
评论(0)
推荐(0)
2023年4月17日
环境搭建--nvm
摘要: 推荐使用nvm node 管理工具 来下载node包 (最好不要自己去官网下载) 一、下载nvm https://www.jianshu.com/p/6939619c9564 nvm 常用命令: nvm list 查看当前系统中的所有node版本 nvm use xx. 使用xx版本的node nv
阅读全文
posted @ 2023-04-17 13:57 蜗牛般庄
阅读(42)
评论(0)
推荐(0)
2023年4月3日
闭包的小案例
摘要: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="wi
阅读全文
posted @ 2023-04-03 16:58 蜗牛般庄
阅读(30)
评论(0)
推荐(0)
canvas 实现水印功能
摘要: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="wi
阅读全文
posted @ 2023-04-03 12:57 蜗牛般庄
阅读(32)
评论(0)
推荐(0)
2023年3月31日
vue2 原理之 如何做到数据可以被监听?
摘要: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="wi
阅读全文
posted @ 2023-03-31 11:03 蜗牛般庄
阅读(30)
评论(0)
推荐(0)
2023年3月30日
v-model (v2 原理)
摘要: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="wi
阅读全文
posted @ 2023-03-30 11:43 蜗牛般庄
阅读(33)
评论(0)
推荐(0)
2023年3月29日
性能优化案例之懒加载
摘要: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="wi
阅读全文
posted @ 2023-03-29 15:04 蜗牛般庄
阅读(14)
评论(0)
推荐(0)
性能优化案例之预加载:代理模式优化加载体验
摘要: 前言: 当我们遇见大图片的时候,不想破坏其像素清晰度,又不想让前端体验感差,就可以用预加载的loading图片来展示, 等到真正的图片下载完,再替换回来。 代码: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta
阅读全文
posted @ 2023-03-29 13:16 蜗牛般庄
阅读(27)
评论(0)
推荐(0)
2022年11月18日
03 jsx语法规则
摘要: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>jsx语法规则</title> <style> .title{ background-color: orange; width: 200px; } </styl
阅读全文
posted @ 2022-11-18 14:40 蜗牛般庄
阅读(19)
评论(0)
推荐(0)
02_虚拟DOM的两种创建方式
摘要: 一、1_使用jsx创建虚拟DOM <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>1_使用jsx创建虚拟DOM</title> </head> <body> <!-- 准备好一个“容器” --> <div i
阅读全文
posted @ 2022-11-18 14:34 蜗牛般庄
阅读(90)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
7
8
9
10
···
20
下一页
公告
Title
页脚 HTML 代码