当前位置:网站首页>Vscode plug in

Vscode plug in

2022-06-13 08:50:00 weixin_ forty-six million three hundred and fifty-three thousan

One 、Search node_modules

  1. effect : Used to find node_modules The files under the
  2. Installation steps : stay vscode Search in plug-ins “Search node_modules”, Use... After installation “ctrl+shift+p”, Enter the name of the file to be searched into the input box ;
  3. Reference article :https://www.zhihu.com/question/309220217

Two 、vetur

  1. effect : initialization vue File template
  2. Installation steps (wins): open vscode–> Click on “ file ”–>“ Preferences ”–>“ User segment ”–> Search for “vue”, choice vue.json Enter after file –> Add the following code inside the file –> stay .vue File internal input vue A prompt message will pop up , Press enter
"Vue Init":{
    
        "prefix": "vue",
        "description": " initialization Vue Single file component template ",
        "body": [
            "<template>",
            "$1",
            "</template>",
            "<script>",
            "export default {",
            " name:'$2',",
            "}",
            "</script>",
            "<style scoped>",
            "$3",
            "</style>",
            ""
        ]
    }
原网站

版权声明
本文为[weixin_ forty-six million three hundred and fifty-three thousan]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/02/202202270537102197.html