vuetify-skilld
БесплатноБез исполняемых скриптовНе проверенVue Material Component Framework. Use when writing, debugging, or configuring code that imports vuetify v4.x. Covers createVuetify setup, components and labs…
от skilld-dev★ 188 звёзд на GitHubОб этом скилле
[email protected]
Material Design component framework for Vue 3. Source citations like lib/framework.js:15 refer to the prepared [email protected] package (package.json:4).
Environment limits
- Vue
^3.5.0peer dependency (package.json:208). No Vue 2 support; Vuetify 2 is EOL (README.md:274). - ESM only:
"type": "module"(package.json:32). - Optional peers:
vite-plugin-vuetify >=2.1.0,webpack-plugin-vuetify >=3.1.0,typescript >=4.7(package.json:205). - Modern browsers, Safari 13+ with polyfills, minimum design width 320px (
README.md:159). - Default font is Roboto; you must add it yourself, e.g.
@fontsource/roboto(https://vuetifyjs.com/getting-started/installation/).
Setup
Vite with automatic treeshaking (preferred). The vuetify plugin must come after the vue plugin:
// vite.config.js
import vue from '@vitejs/plugin-vue'
import vuetify from 'vite-plugin-vuetify'
export default defineConfig({ plugins: [vue(), vuetify()] })
// src/plugins/vuetify.js
import 'vuetify/styles'
import { createVuetify } from 'vuetify'
export default createVuetify({
// components, directives not needed with the loader plugin
})
Without a loader plugin, register manually; wildcard imports include everything and slow development builds:
import * as components from 'vuetify/components'
import * as directives from 'vuetify/directives'
createVuetify({ components, directives })
createVuetify accepts aliases, blueprint, components, date, defaults, directives, display, goTo, icons, locale, ssr, theme and returns { install, unmount, defaults, display, theme, icons, locale, date, goTo } (lib/framework.js:15). Install with app.use(vuetify); wrap the app in a single <v-app> root.
For SSR frameworks (Nuxt, vite-ssr) set ssr: true so display values render correctly (https://vuetifyjs.com/getting-started/installation/).
Scaffolding: pnpm create vuetify / npm create vuetify@latest (README.md:44).
CDN bundle with everything included: vuetify/dist/vuetify.js (package.json:35).
Components
- Prefer imports from
vuetify/components/<Group>overvuetify/components(loads only needed styles in dev). - Labs components are NOT production ready; import from
vuetify/labs/<Name>orvuetify/labs/components. In 4.0.1 labs holds: VAvatarGroup, VColorInput, VCommandPalette, VDateInput, VFileUpload, VIconBtn, VMaskInput, VPicker, VPie, VStepperVertical, VPullToRefresh, VVideo (lib/labs/components.js:1). - Dynamic
<component :is>is invisible to the loader plugin; import those components manually (https://vuetifyjs.com/features/treeshaking/). - Full inventory and export paths: references/exports.md
Configuration
- Theme: the v4 default is
system(followsprefers-color-scheme), notlight(lib/composables/theme.js:10). Pin it withtheme: { defaultTheme: 'light' }if system switching is unwanted. - Defaults: set prop defaults per component with
createVuetify({ defaults: { VBtn: { ... } } }).classandstylework only on component keys, never in theglobalkey (https://vuetifyjs.com/features/global-configuration/). - Display: v4 breakpoints changed; defaults are
sm 600, md 840, lg 1145, xl 1545, xxl 2138(lib/composables/display.js:10). - Icons: default set is
mdiand expects the@mdi/fontstylesheet, or usemdi-svgfor bundled SVG icons (https://vuetifyjs.com/features/icon-fonts/). - Dates: default adapter wraps native
Date; swap with any date-io adapter (https://vuetifyjs.com/features/dates/). - Blueprints:
createVuetify({ blueprint: md3 })applies a design-system preset; explicit options override the blueprint (lib/framework.js:15,lib/blueprints/index.js:1). - Details and examples: references/configuration.md
Composables
All exported from the vuetify entry point (lib/composables/index.js:1): useDate, useDefaults, useDisplay, useGoTo, useLayout, useLocale, useRtl, useTheme, useHotkey, useMask.
<script setup>
import { useTheme } from 'vuetify'
const theme = useTheme()
theme.toggle() // light <-> dark
</script>
For hotkeys prefer the cmd modifier (useHotkey('cmd+s', save)); it resolves to Command on Mac and Control elsewhere (lib/composables/hotkey/key-aliases.js:10).
Full API per composable: references/composables.md
Styles
import 'vuetify/styles'is the all-in-one precompiled CSS; modular entries arevuetify/styles/core(must be first),vuetify/styles/colors,vuetify/styles/utilities(package.json:61).- SASS variable overrides require the sass preprocessor and
vuetify({ styles: { configFile: 'src/styles/settings.scss' } })in the loader plugin; use@use 'vuetify/settings' with (...). - v4 styles ship in cascade layers (
vuetify-core,vuetify-components,vuetify-overrides,vuetify-utilities,vuetify-final); unlayered user CSS
Установить vuetify-skilld в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл vuetify-skilld?
Vue Material Component Framework. Use when writing, debugging, or configuring code that imports vuetify v4.x. Covers createVuetify setup, components and labs, composables, theming, icons, dates and locale, styles and SASS variables, treeshaking, and v3 to v4 migration.
Как установить скилл vuetify-skilld?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл vuetify-skilld запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
doc-coauthoring
Guide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision…
от Anthropicacademy-guide
Stop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials…
от Anthropicinternal-comms
A set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill…
от Anthropicskill-development
This skill should be used when the user wants to "create a skill", "add a skill to plugin", "write a new skill", "improve skill description", "organize skill…
от Anthropic