-
The
- editor is that vscode, installs the document this annotation plug-in, but only supports html and js files, and cannot be used in vue files.
- how to use the document this plug-in in the vue file, or is there an alternative?
if you want to comment on the header of the file and the function, you can use this plug-in: koroFileHeader
has just tried and will prompt Sorry! 'Document This' wasn't able to produce documentation at the current position.
place the cursor in the method code instead of the method header, try
Previous: How to write vue.js watch listeners in decorative mode?
Next: Vue.js customizes a keyup instruction to input. What if you get the new value you just entered?
rt, installed vetur last year, and I have always felt that I have written several vue projects with or without it. Now I want to give full play to the role of this plug-in. I have always had several doubts: 1. Now the vue file code highlights I do have...
= Please refer to the adopted answer and the following comments for the solution = has installed the Vetur plug-in to recognize the structure inside the .vue single file, but cannot use the properties and methods bound in the Vue instance. for examp...
after I updated vscode, WARNING Compiled with 1 warnings appeared a red wavy line in a line of code in my Refund.vue. Later, I uninstalled vscode and then reinstalled it. Later, after Baidu checked "vetur.validation.template ": true, changed this ...
problem description The vscode+debugger for chrome plug-in develops vux-based mobile web programs, and adds breakpoints in vue. When executed, the breakpoints do not match, and debugging sometimes stops where the breakpoints are not set. another pr...
the automatic completion of html tags for 1.vscode requires the installation of the HTML Snippets plug-in, and then the preference setting is valid as follows: "files.associations": { "*.vue": "html" }, 2. A red wavy ...
< H2 > question: vue + typescript practice. Vscode prompts for properties and methods that are not defined under the vue object (in fact, they have already been defined) < H2 > related codes and hints: export default Vue.extend({ props: { menu:...
< H2 > unformatted code is shown in figure 1: < H2 > figure 1 alt+ shift + f 2 2 do you guys know how to configure it? it has been tested that the key of object properties will be formatted! ...
when the beauty,vuter,prettier, format code is installed in the relevant plug-ins, the indentation is always 2. If you want to change it to 4, you can t adjust it well according to the method on the Internet. this is a custom setting. What other conf...
how to access the data of a vue instance in the event of an import object ...
when using vsCode to write vue, format, this kind of line breaks, it looks very uncomfortable, I would like to ask how to set it up, so that this kind of non-line wrapping display? <el-select v-model="configQueryParam.vehicleType" ...
I created a .vue file in vscode, and then built less code into the vue file: <style lang="less" scoped> .floor-ad-words{ padding: 0 10px 10px 10px; font-size: 12px; background-color: -sharpfff; .text{ margin: 0; line-he...
now the goodsForm.vue form component uses the encapsulated m-select component (encapsulated element el-select), and the drop-down box style needs to be modified. Because the drop-down box style is inserted directly under the body, you need to write the ...
paste the code in the setting file { first. "editor.formatOnSave": true, "eslint.autoFixOnSave": true, "eslint.validate": [ "javascript", "javascriptreact", { "language": &...
the old background project, there is no front and back end separation, want to use vue vue syntax to highlight in the html file, not .vue file, does vscode have plug-ins? ...