File tree 2 files changed +8
-0
lines changed
2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -82,6 +82,7 @@ You can enable tab completion (recommended) by opening `Code > Preferences > Set
82
82
| ` vdestroyed ` | destroyed lifecycle method |
83
83
| ` vprops ` | Props with type and default |
84
84
| ` vimport ` | Import one component into another |
85
+ | ` vimport-dynamic ` | Import one component that should be lazy loaded by webpack |
85
86
| ` vcomponents ` | Import one component into another within the export statement |
86
87
| ` vimport-export ` | Import one component into another and use it within the export statement |
87
88
| ` vmapstate ` | import mapState from Vuex into vue component component |
Original file line number Diff line number Diff line change 121
121
],
122
122
"description" : " import a component and include it in export default"
123
123
},
124
+ "Vue Import Component Dynamically" : {
125
+ "prefix" : " vimport-dynamic" ,
126
+ "body" : [
127
+ " const ${1:New} = () => import('@/components/${1:New}.vue')"
128
+ ],
129
+ "description" : " Import component that should be lazy loaded"
130
+ },
124
131
"Vue MapState" : {
125
132
"prefix" : " vmapstate" ,
126
133
"body" : [
You can’t perform that action at this time.
0 commit comments