会员
周边
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
卓能文
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
12
13
14
15
16
17
18
19
20
···
25
下一页
2024年8月15日
react in cdn
摘要: index.html: <!doctype html> <html> <head> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width" /> <title>Ariakit</title> </head
阅读全文
posted @ 2024-08-15 08:43 卓能文
阅读(39)
评论(0)
推荐(0)
2024年8月14日
antd模板工程
摘要: pnpm create vite@latest my-project -- --template react cd my-project pnpm install -D tailwindcss postcss autoprefixer npx tailwindcss init -p tailwind
阅读全文
posted @ 2024-08-14 18:19 卓能文
阅读(63)
评论(0)
推荐(0)
2024年8月11日
xrender中的FormRender使用示例
摘要: xrender是阿里的中后台「表单/表格/图表」开箱即用解决方案。 先采用在线工具创建一个简单的schema:simple.ts export default { "type": "object", "properties": { "title": { "title": "标题", "type":
阅读全文
posted @ 2024-08-11 17:10 卓能文
阅读(397)
评论(0)
推荐(0)
2024年8月10日
radix-ui/themes使用示例
摘要: pnpm create vite@latest index.html: <!doctype html> <html lang="zh-CN"> <head> <meta charset="UTF-8" /> <link rel="icon" type="image/svg+xml" href="/v
阅读全文
posted @ 2024-08-10 09:44 卓能文
阅读(367)
评论(0)
推荐(0)
react-ace使用示例
摘要: import { useState } from "react"; import AceEditor from "react-ace"; import "ace-builds/src-noconflict/mode-markdown"; import "ace-builds/src-noconfli
阅读全文
posted @ 2024-08-10 09:15 卓能文
阅读(283)
评论(0)
推荐(0)
react-md-editor使用示例
摘要: import { useState } from "react"; import { Flex } from "@radix-ui/themes"; import MDEditor from "@uiw/react-md-editor"; import { getCommands, getExtra
阅读全文
posted @ 2024-08-10 00:36 卓能文
阅读(315)
评论(0)
推荐(0)
react-markdown-editor示例
摘要: import { useState } from "react"; import { Button, Flex } from "@radix-ui/themes"; import MarkdownEditor from "@uiw/react-markdown-editor"; export def
阅读全文
posted @ 2024-08-10 00:11 卓能文
阅读(143)
评论(0)
推荐(0)
2024年8月9日
利用ace编辑并预览markdown
摘要: <!DOCTYPE html> <html lang="zh-CN"> <head> <title>ACE in Action</title> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, init
阅读全文
posted @ 2024-08-09 10:05 卓能文
阅读(157)
评论(0)
推荐(0)
2024年8月8日
利用esm.sh CDN减小发布包体积
摘要: 采用vite新建一个工程。修改index.html: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-s
阅读全文
posted @ 2024-08-08 09:20 卓能文
阅读(78)
评论(0)
推荐(0)
使用monaco编辑预览markdown文件
摘要: 本打算使用remark来解析markdown的,但vite无论如何都不能编译成功,总是缺少一堆相关依赖,并且npm上还找不到相关的包,估计是版本依赖关系问题,暂时没时间来检查修改问题,遂采用marked来解析。 <div> toolbar </div> <div style="display: fl
阅读全文
posted @ 2024-08-08 08:26 卓能文
阅读(441)
评论(0)
推荐(0)
上一页
1
···
12
13
14
15
16
17
18
19
20
···
25
下一页
公告