first, in the vscode to download the plugin and enable, and then flip through the plugin's readme, we can see the FAQ:
Ii. configuring Files.associations objects in Settings.json
First, open files--preferences--settings, and you'll see the Settings.json file
Then find the Files.associations object in "Common settings" in Settings.json.
Then slide the mouse to the left of the object, will appear an "edit" the logo, click on it, will open the right edit page,
Follow the steps to configure it, and then go back to the. Vue page, hit the Div, and then press the TAB key, you can automatically complete the code, here only to write the last word on it.
Can see also appear the code hint function, you can choose one oneself want, also can not choose, press TAB key directly, can generate <p></p>, for example:
How to use the HTML code completion feature in a. vue file when using Vscode