@sky.ui/vue
| Install | |
|---|---|
npm install @sky.ui/vue |
|
| Latest Version: | 0.0.70 |
| Vue: | 3 |
| License: | Custom |
| Last Updated: | Oct 22, 2026 |
| Links: | GitLab · npm |
@sky.ui/vue
Vue 3 SFC wrappers for Sky UI web components. Use <SkyButton> or <sky-button> in templates with optional auto-import and tree-shaking.
Install
npm install "@sky.ui/vue" "@sky.ui/core" "@lit-labs/vue-utils"
# Core runtime peers (required so Vite does not stub empty modules):
npm install lit "@lit-labs/motion" "@lit-labs/virtualizer" "@lit/context" d3 three
Quote scoped names (
"@sky.ui/…") — required in PowerShell. See powershell-scoped-packages.md.
@sky.ui/core is a dependency of this package (npm installs it with @sky.ui/vue). Peer dependencies: vue, @lit-labs/vue-utils, plus the Core peers above.
Quick start
<script setup>
import { SkyButton, SkyCard } from '@sky.ui/vue';
</script>
<template>
<SkyButton label="Save" />
</template>
Vite auto-import
Use components in templates without manual imports. The resolver imports each
wrapper from its per-component subpath (@sky.ui/vue/sky-button) so Vite
dev does not evaluate the package barrel.
-
Install the resolver plugin:
npm install unplugin-vue-components -D -
Configure Vite:
Option A — one-line plugin
import Vue from '@vitejs/plugin-vue'; import { SkyUIVueVitePlugin } from '@sky.ui/vue/vite'; import { defineConfig } from 'vite'; export default defineConfig({ plugins: [Vue(), ...SkyUIVueVitePlugin()], });Option B — resolver only
import Vue from '@vitejs/plugin-vue'; import Components from 'unplugin-vue-components/vite'; import { SkyUIVueResolver } from '@sky.ui/vue/auto-import'; import { defineConfig } from 'vite'; export default defineConfig({ plugins: [ Vue(), Components({ resolvers: [SkyUIVueResolver()], dts: true }), ], }); -
Use
<SkyButton label="OK" />or<sky-card>...</sky-card>without imports. Add generatedcomponents.d.tsto yourtsconfiginclude.
To restore the legacy named barrel import (import { SkyButton } from '@sky.ui/vue'):
SkyUIVueVitePlugin({ resolverOptions: { importStyle: 'barrel' } });
Whole library (no tree-shaking)
SkyUIVueVitePlugin({ treeShake: false });
import '@sky.ui/vue/all';
import * as Sky from '@sky.ui/vue';
Webpack and Rollup
Webpack
import { SkyUIVueWebpackPlugin } from '@sky.ui/vue/webpack';
export default {
plugins: [
...SkyUIVueWebpackPlugin({ dts: true }),
],
};
Rollup
import { SkyUIVueRollupPlugin } from '@sky.ui/vue/rollup';
export default {
plugins: [...SkyUIVueRollupPlugin(), /* Vue plugin, etc. */],
};
Manual imports
Works with any bundler — no plugin required. Barrel imports are named re-exports; per-component paths use a default export:
<script setup>
import { SkyButton, SkyCard } from '@sky.ui/vue';
// or: import SkyButton from '@sky.ui/vue/sky-button';
</script>
Related packages
| Package | Use when |
|---|---|
@sky.ui/core |
Lit custom elements (dependency of this package) |
@sky.ui/react |
React wrappers |
@sky.ui.pro/vue |
Pro-tier Vue wrappers |
Editor support
Install the Sky UI Components VS Code extension for Vue template completions, hover docs, and validation.
License
Sky UI Free EULA — proprietary; not open source.
Related Packages
Version History
| Version | Released | License |
|---|---|---|
| 0.0.70 | Custom | |
| 0.0.69 | Custom | |
| 0.0.68 | Custom | |
| 0.0.67 | Custom | |
| 0.0.66 | Custom | |
| 0.0.65 | Custom | |
| 0.0.64 | Custom | |
| 0.0.63 | Custom | |
| 0.0.62 | Custom | |
| 0.0.61 | Custom | |
| 0.0.60 | Custom | |
| 0.0.59 | Custom | |
| 0.0.58 | Custom | |
| 0.0.57 | Custom | |
| 0.0.56 | Custom | |
| 0.0.55 | Custom | |
| 0.0.54 | Custom | |
| 0.0.53 | Custom | |
| 0.0.52 | Custom | |
| 0.0.51 | Custom | |
| 0.0.50 | Custom | |
| 0.0.49 | Custom | |
| 0.0.48 | Custom | |
| 0.0.47 | Custom | |
| 0.0.46 | Custom | |
| 0.0.45 | Custom | |
| 0.0.44 | Custom | |
| 0.0.43 | Custom | |
| 0.0.42 | Custom | |
| 0.0.41 | Custom |
Showing the latest 30 of 55. See every release on npm