vue.json 619 B

1234567891011121314151617181920212223242526272829303132
  1. {
  2. "translate": {
  3. "prefix": "translate",
  4. "body": ["<translate>${1:$TM_SELECTED_TEXT}</translate>"]
  5. },
  6. "variables": {
  7. "prefix": "variables",
  8. "body": ["@require '~styles/variables'"]
  9. },
  10. "mixins": {
  11. "prefix": "mixins",
  12. "body": ["@require '~styles-lib/mixins'"]
  13. },
  14. "component": {
  15. "prefix": "component",
  16. "body": [
  17. "<script lang=\"ts\" src=\"./$1\"></script>",
  18. "",
  19. "<template>",
  20. "\t<div class=\"$2\">",
  21. "\t\t<!-- -->",
  22. "\t</div>",
  23. "</template>",
  24. "",
  25. "<style lang=\"stylus\" scoped>",
  26. "@import '~styles/variables'",
  27. "@import '~styles-lib/mixins'",
  28. "</style>"
  29. ]
  30. }
  31. }