MCPcopy
hub / github.com/vue-macros/vue-macros

github.com/vue-macros/vue-macros @v3.1.2 sqlite

repository ↗ · DeepWiki ↗ · release v3.1.2 ↗
476 symbols 1,570 edges 506 files 1 documented · 0%
README

Vue Macros

Explore more macros and syntax sugar to Vue.

NPM version

Features

  • ✨ Explore more macros and syntax sugar to Vue.
  • 💚 Supports both Vue 2.7 and Vue 3 out-of-the-box.
  • 🦾 Full TypeScript / Volar support.
  • ⚡️ Supports most bundlers powered by unplugin.
  • Vite, Nuxt
  • Webpack, Rspack, Vue CLI
  • Rollup
  • esbuild
  • and more...

Installation

npm i -D vue-macros

Usage

📜 Documentation

Sponsors

Contributors

💕 Thank you to all the contributors!

Related Libraries

License

MIT License © 2022-PRESENT Kevin Deng

Extension points exported contracts — how you extend this code

ImportMeta (Interface)
(no doc)
packages/shim.d.ts
CommonProps (Interface)
(no doc)
packages/better-define/tests/fixtures/types.ts
WithDefaultsMap (Interface)
(no doc)
packages/macros/macros.d.ts
Options (Interface)
(no doc)
packages/short-bind/src/core/transformer.ts
Foo (Interface)
(no doc)
packages/export-expose/tests/fixtures/types.ts
NuxtConfig (Interface)
(no doc)
packages/nuxt/src/index.ts
Options (Interface)
(no doc)
packages/boolean-prop/src/core/transformer.ts
Binding (Interface)
(no doc)
packages/reactivity-transform/src/core/transform.ts

Core symbols most depended-on inside this repo

hideAstLocation
called by 50
packages/api/tests/_util.ts
transform
called by 39
packages/reactivity-transform/src/index.ts
createFilter
called by 39
packages/common/src/unplugin.ts
resolveSubOptions
called by 30
packages/config/src/options.ts
snapshot
called by 28
packages/api/tests/_util.ts
defineConfig
called by 28
packages/config/src/define.ts
resolvePlugin
called by 26
packages/macros/src/core/plugin.ts
detectVueVersion
called by 24
packages/common/src/dep.ts

Shape

Function 406
Interface 63
Class 3
Enum 3
Method 1

Languages

TypeScript100%

Modules by API surface

packages/reactivity-transform/src/core/transform.ts29 symbols
packages/api/src/vue/props.ts19 symbols
packages/setup-component/src/core/index.ts13 symbols
packages/define-models/src/core/index.ts13 symbols
packages/setup-component/src/index.ts9 symbols
packages/api/src/vue/emits.ts9 symbols
packages/common/src/vue.ts8 symbols
packages/api/src/ts/resolve.ts8 symbols
packages/named-template/src/core/index.ts7 symbols
packages/define-prop/src/index.ts7 symbols
packages/common/src/unplugin.ts7 symbols
packages/volar/src/define-prop.ts6 symbols

Used by 1 indexed graphs manifest dependencies, hub-wide

Dependencies from manifests, versioned

@astrojs/vuecatalog: · 1×
@babel/parsercatalog: · 1×
@babel/typescatalog: · 1×
@iconify-json/logoscatalog: · 1×
@iconify-json/ricatalog: · 1×
@nolebase/vitepress-plugin-enhanced-markcatalog: · 1×
@nolebase/vitepress-plugin-enhanced-readabilitiescatalog: · 1×
@nolebase/vitepress-plugin-git-changelogcatalog: · 1×
@nolebase/vitepress-plugin-highlight-targeted-headingcatalog: · 1×
@nuxt/devtoolscatalog: · 1×
@nuxt/kitcatalog: · 1×
@nuxt/schemacatalog: · 1×

For agents

$ claude mcp add vue-macros \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact