Go to file
FairyEver 83bad34ae4 refactor: Simplified code 2022-01-11 17:05:08 +08:00
.vscode feat: customBlocks 2021-11-25 08:00:13 +08:00
d2 refactor: Simplified code 2022-01-11 17:05:08 +08:00
public feat: vite init 2021-08-16 09:02:40 +08:00
src feat: technical research about surely vue 2022-01-05 16:53:31 +08:00
.gitignore feat: components.d.ts 2021-09-01 15:31:59 +08:00
README.md docs: update TODO 2021-12-22 20:04:31 +08:00
index.html feat: layout dashboard 2021-11-13 22:01:23 +08:00
jsconfig.json feat: jsconfig.json 2021-10-27 22:51:25 +08:00
package-lock.json feat: technical research about surely vue 2022-01-05 16:53:31 +08:00
package.json feat: technical research about surely vue 2022-01-05 16:53:31 +08:00
postcss.config.js feat: add tailwindcss 2021-10-21 14:42:13 +08:00
tailwind.config.js feat: update tailwind.config.js 2021-12-22 19:22:04 +08:00
vite.config.js feat: update config 2021-11-02 20:49:23 +08:00

README.md

D2Admin V2

TODO

  • svg 尺寸参数
  • svg 图标模式
  • Markdown 代码高亮
  • Markdown 代码复制
  • 文件获取自身路径
  • 基于文件路径的 component name
  • 基于菜单和数据加当前页面计算应该展开的菜单层级
  • 分离自带页面的菜单数据便于后期灵活组合
  • Menu 类增加 index 方法用于设置一组菜单的首页
  • 页面向 layout 传递参数
  • 根据路由数据生成菜单的辅助函数

Tips

Syntax Highlighting <route>

To enable syntax highlighting <route> in VS Code using Vetur's Custom Code Blocks add the following snippet to your preferences...

  1. update setting
"vetur.grammar.customBlocks": {
  "route": "json"
}
  1. Run the command in vscode

Vetur: Generate grammar from vetur.grammar.customBlocks

  1. Restart VS Code to get syntax highlighting for custom blocks.