Vue 3 Snippet (Visual Studio Code)
Code snippets for Vue (v3.x) + Vue Router (v4.x).
Vue 2 and 3 Template Directives are the same (vscode-vue-basic-snippets).
Vue 2 and 3 have relatively large changes, 2 recommends the Optional paradigm, and 3 recommends the Composition Functions paradigm. The commonly used "Global API, Directives, Transition, Async Components, Instance Events, Lifecycle" in Vue have undergone major changes. And Router/VueX also launched 4 versions.
In addition, with the introduction of new features of "reactive refs" and "Teleport", the upgrade of many community resources will be major changes.
Therefore, it is not good to design Vue 2 and 3 Code Snippets together.
It is best to separate the Code Snippets of Vue 2 and 3 respectively. According to the actual situation in the project, select
🌈🌈🌈 Also need to install:
Looking at the source code, the source code files are layered, very clear, better than the document description, and roughly what are the