Skip to content

jeka-kiselyov/varmory

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

varmory

Component showcase for Vue 3 + Quasar apps, with a Model Context Protocol server so AI agents can read your components and docs.

Drop in an interactive browser for the Quasar components you use and any custom ones you build, and expose the same metadata to tools like Claude via MCP — no extra glue needed.

See themed_varmory for a reference example of using varmory as a base to build your own themed component library — swappable themes, a theme store, custom components, and an MCP server with an extended set of components and API definitions.

Installation

npm install varmory

Peer dependencies:

npm install vue@^3 quasar@^2 @quasar/extras@^1

Setup

Quasar components are registered by @quasar/vite-plugin in your Vite config:

// vite.config.js
import vue from '@vitejs/plugin-vue';
import { quasar, transformAssetUrls } from '@quasar/vite-plugin';

export default {
	plugins: [
		vue({ template: { transformAssetUrls } }),
		quasar({ autoImportComponentCase: 'pascal' }),
	],
};

In your app's entry file, attach Quasar to the Vue app before Varmory, then install Varmory as a Vue plugin. Varmory registers JComponentShowcase + JComponentShowcaseWithContent globally and throws if Quasar isn't already installed.

// main.js
import { createApp } from 'vue';
import { Quasar, Notify, Dialog, LocalStorage, SessionStorage } from 'quasar';
import { Varmory } from 'varmory';
import 'quasar/dist/quasar.css';
import '@quasar/extras/material-icons/material-icons.css';
import App from './App.vue';

createApp(App)
	.use(Quasar, { plugins: { Notify, Dialog, LocalStorage, SessionStorage } })
	.use(Varmory)
	.mount('#app');

See USAGE.md for the rest of the setup details.

Docs

  • Usage — setting up a fresh app, Vite config, Quasar plugin wiring
  • Building Components — API style, layout patterns, component composition
  • Showcase — interactive browser, adding categories, custom docs, navigation
  • MCP Server — expose showcase + docs + component APIs to AI agents via MCP

About

Vue 3 + Quasar component showcase library and an MCP server for AI agents.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors