-
點擊 file 打開設置 settings,展開 Editor 找到 file and code templates
-
找到 Vue single file component 並選中它,然后點擊copy
-
復制后底部出現了一個新的文件
-
把 Name 改成 Vue Component,然后把代碼里的 “COMPONENT_ ”刪掉,最后點 ok 就完事了
然后我們再新建一個文件的時候就可以看到有 Vue Component 選項了!
點擊 file 打開設置 settings,展開 Editor 找到 file and code templates
找到 Vue single file component 並選中它,然后點擊copy
復制后底部出現了一個新的文件
把 Name 改成 Vue Component,然后把代碼里的 “COMPONENT_ ”刪掉,最后點 ok 就完事了
然后我們再新建一個文件的時候就可以看到有 Vue Component 選項了!
本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。