- 新增 extractTextFromJSON,搜索框支持正文全文检索 - 编辑器标题下方新增标签编辑区(添加/删除 chip) - 侧边栏标签 chip 可点击过滤笔记,头部显示激活标签及清除入口 - 笔记列表支持四种排序:最近修改、最近创建、标题 A-Z/Z-A - 右键菜单新增笔记重命名(行内编辑) - @dnd-kit 拖拽笔记到目标文件夹,MouseSensor distance=6 防误触 - 文件夹区改为递归渲染,支持多级嵌套展示与拖拽放入 - updateNote 新增 silent 模式,标签/收藏操作不再更新 updatedAt Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
React + TypeScript + Vite
This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.
Currently, two official plugins are available:
- @vitejs/plugin-react uses Oxc
- @vitejs/plugin-react-swc uses SWC
React Compiler
The React Compiler is not enabled on this template because of its impact on dev & build performances. To add it, see this documentation.
Expanding the ESLint configuration
If you are developing a production application, we recommend updating the configuration to enable type-aware lint rules:
export default defineConfig([
globalIgnores(['dist']),
{
files: ['**/*.{ts,tsx}'],
extends: [
// Other configs...
// Remove tseslint.configs.recommended and replace with this
tseslint.configs.recommendedTypeChecked,
// Alternatively, use this for stricter rules
tseslint.configs.strictTypeChecked,
// Optionally, add this for stylistic rules
tseslint.configs.stylisticTypeChecked,
// Other configs...
],
languageOptions: {
parserOptions: {
project: ['./tsconfig.node.json', './tsconfig.app.json'],
tsconfigRootDir: import.meta.dirname,
},
// other options...
},
},
])
You can also install eslint-plugin-react-x and eslint-plugin-react-dom for React-specific lint rules:
// eslint.config.js
import reactX from 'eslint-plugin-react-x'
import reactDom from 'eslint-plugin-react-dom'
export default defineConfig([
globalIgnores(['dist']),
{
files: ['**/*.{ts,tsx}'],
extends: [
// Other configs...
// Enable lint rules for React
reactX.configs['recommended-typescript'],
// Enable lint rules for React DOM
reactDom.configs.recommended,
],
languageOptions: {
parserOptions: {
project: ['./tsconfig.node.json', './tsconfig.app.json'],
tsconfigRootDir: import.meta.dirname,
},
// other options...
},
},
])
Description
Languages
TypeScript
84%
HTML
11.6%
CSS
3.4%
Shell
0.8%
JavaScript
0.2%