onecodesnippets README
这里主要是常用的代码块实现,欢迎大家投稿使用
vue 快捷搜索 vue-${name}
- vue2 vue2的组件代码块
"component", "v2c", "vue2"
- vue3 vue3的组件代码块
"component", "v3c", "vue3"
- vue中router的配置文件
"vue-router", "router", "router-js", "vue-router-js"
- vue中 v-for 的template 配置文件
"v-for","for", "for-template", "for-js"
javascript 快捷搜索 js-${name}
- share 常用分享的组件代码块
"component", "share", "share-js"
- swiper 常用swiper的组件代码块
"template", "swiper", "swiper-js"
- env 常用环境判断的组件代码块
"component", "env", "env-js"
- app-navbar 常用navbar样式和标题设置代码块
"component", "app-navbar", "navbar-js"
- log快速打印
"log", "console", "cl", "js-log"
react-management 快捷搜索 react-${name}
- admin-modal 后台弹窗组件代码块
"component", "react-modal","admin-modal", "react-modal-component"
- admin-list 后台列表组件代码块
"component", "react-list", "admin-list", "react-list-template"
- admin-form 后台表单组件代码块
"component", "admin-form", "react-form", "react-form-component"
- admin-hooks-component hooks 后台组件代码块
"component", "admin-hooks", "react-hooks", "react-hooks-component"
css 快捷搜索 css-${name}
- scrollbar滚动条隐藏样式
"scrollbar-css", "scrollbar", "scrollbar-js", "scrollbar-hidden"
- flex盒子代码
"flex-css", "flex", "display", "display-flex"
- DIN字体样式引入
"font", "font-family", "din", "font-face"
- Alibaba字体
"css-font","font-alibaba", "font-family", "alibaba", "font-face"
- 超长省略样式引入
"css-text","text-overflow-css", "text-overflow"
- 超长省略首部样式引入
"css-text","text-overflow-css", "text-overflow-direction"
- 多行省略样式引入
"css-text","text-overflow-css", "text-overflow"
- 背景图样式引入
"background-image","background", "css-background"
vscode
Enjoy!
| |