vetur.config.js 555 B

123456789101112131415161718
  1. // vetur.config.js
  2. /** @type {import('vls').VeturConfig} */
  3. module.exports = {
  4. // **optional** default: `{}`
  5. // override vscode settings
  6. // Notice: It only affects the settings used by Vetur.
  7. settings: {
  8. "vetur.useWorkspaceDependencies": true,
  9. "vetur.experimental.templateInterpolationService": true,
  10. "vetur.validation.interpolation": false,
  11. "vetur.completion.tagCasing": "initial",
  12. },
  13. };
  14. /**
  15. * 要添加了本文件,SFC 才能正常提示
  16. * 但是在含有 components 属性的 SFC 中,提示功能还是被干掉了
  17. */