@codegraphy-dev/plugin-vue
v0.3.1
Published
CodeGraphy Vue plugin
Maintainers
Readme
CodeGraphy Vue
Adds Vue Single-File Component script import analysis to CodeGraphy.
- Package:
@codegraphy-dev/plugin-vue - Plugin API:
@codegraphy-dev/plugin-api
Install
Install @codegraphy-dev/core first if the codegraphy CLI is not already available.
npm i -g @codegraphy-dev/plugin-vue
codegraphy plugins register @codegraphy-dev/plugin-vue
codegraphy plugins enable @codegraphy-dev/plugin-vue
codegraphy indexWhat It Provides
This plugin parses Vue 3 Single-File Components with @vue/compiler-sfc and
indexes relative imports from <script> and <script setup> blocks.
- runtime imports become baseline import relationships
- type-only imports become type-import relationships
- explicit
.vuecomponent imports resolve to Vue SFC files - TypeScript and JavaScript script imports resolve with the baseline extension candidates
Core CodeGraphy owns the default .vue icon and color through Material Icon Theme.
This plugin does not ship general file theming or Vue-specific graph node/edge types.
