Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>sp-code-vs-extensionNew to Visual Studio Code? Get it now.
sp-code-vs-extension

sp-code-vs-extension

vscode-gyj-kimi

|
304 installs
| (0) | Free
代码模板插件
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

sp-code-vs-extension

这是一个适配公司框架的 snippets 插件,基于 vue3 和框架 template-vue3-backstage

注意 :本插件可能不完全适用于 vue2

特性

目前支持的代码片段

通用的模版片段

关键词 代码片段
spc-vue3 <script setup lang="ts"></script><template></template><style></style>
spc-template <template><div></div></template>
spc-scripte <script setup lang="ts"></script>
spc-style <style lang=""></style>
spc-css <style scoped></style>
spc-scss <style lang="scss"></style>
spc-sass <style lang="sass"></style>
spc-less <style lang="less"></style>

业务特性的模版片段

关键词 说明
sp-listpage 带着框架分页布局等信息的模板
sp-listpageEmpty 带着框架分页布局等信息的模板
sp-editform 带着框架设计的编辑表单
sp-viewform 带着框架设计的查看表单

Enjoy!

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft