
Vue
| Snippet | Purpose |
|---|---|
vbase |
Single file component base with SCSS |
vbase-3 |
Single File component Composition API with SCSS |
vbase-3-setup |
Single File component setup Composition API with SCSS |
vbase-3-reactive |
Single File component Composition API with Reactive and SCSS |
vbase-css |
Single file component base with CSS |
vbase-pcss |
Single file component base with PostCSS |
vbase-styl |
Single file component base with Stylus |
vbase-ts |
Single file component base with Typescript |
vbase-ts-class |
Single file component base with Typescript Class Format |
vbase-3-ts |
Single File component Composition API with Typescript |
vbase-3-ts-setup |
Single File component setup Composition API with Typescript |
vbase-ns |
Single file component with no styles |
vbase-sass |
Single file component base with SASS |
vbase-less |
Single file component base with LESS |
Template
| Snippet | Purpose |
|---|---|
vfor |
v-for directive |
vmodel |
Semantic v-model directive |
vmodel-num |
Semantic v-model number directive |
von |
v-on click handler with arguments |
vslot-named |
Named |

本文介绍了如何利用VSCode的Vue VSCode Snippets插件,快速生成Vue项目的各种模板,包括Vue组件、Template、Script、Composition API、Vuex状态管理、Vue Router路由配置、Vue配置项以及Nuxt的页面和配置等。
最低0.47元/天 解锁文章
977

被折叠的 条评论
为什么被折叠?



