@awc-ui/vue 1.0.0-beta.8 → 1.0.0-beta.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +10 -8
- package/package.json +25 -5
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
# @awc-ui/vue
|
|
1
|
+
# Vue Web Components and Nuxt SSR — @awc-ui/vue
|
|
2
2
|
|
|
3
|
-
Vue 3
|
|
3
|
+
Typed Vue 3 components for [AWC UI](https://www.npmjs.com/package/@awc-ui/core) — accessible Material Design 3 Web Components with automatic registration and Nuxt SSR support.
|
|
4
4
|
|
|
5
5
|
## Install
|
|
6
6
|
|
|
@@ -16,18 +16,18 @@ Register the plugin once (it loads the custom elements and teaches Vue's compile
|
|
|
16
16
|
|
|
17
17
|
```ts
|
|
18
18
|
// main.ts
|
|
19
|
-
import { createApp } from
|
|
20
|
-
import { AwcUiVue } from
|
|
21
|
-
import App from
|
|
19
|
+
import { createApp } from "vue";
|
|
20
|
+
import { AwcUiVue } from "@awc-ui/vue";
|
|
21
|
+
import App from "./App.vue";
|
|
22
22
|
|
|
23
|
-
createApp(App).use(AwcUiVue).mount(
|
|
23
|
+
createApp(App).use(AwcUiVue).mount("#app");
|
|
24
24
|
```
|
|
25
25
|
|
|
26
26
|
Then use the typed component wrappers:
|
|
27
27
|
|
|
28
28
|
```vue
|
|
29
29
|
<script setup lang="ts">
|
|
30
|
-
import { MdButton } from
|
|
30
|
+
import { MdButton } from "@awc-ui/vue";
|
|
31
31
|
</script>
|
|
32
32
|
|
|
33
33
|
<template>
|
|
@@ -37,4 +37,6 @@ import { MdButton } from '@awc-ui/vue';
|
|
|
37
37
|
|
|
38
38
|
## Documentation
|
|
39
39
|
|
|
40
|
-
|
|
40
|
+
[Vue and Nuxt SSR guide](https://awc-ui.dev/frameworks/vue/) · [All component docs](https://awc-ui.dev/components/)
|
|
41
|
+
|
|
42
|
+
Component manuals and AI-readable documentation also ship with [`@awc-ui/core`](https://www.npmjs.com/package/@awc-ui/core).
|
package/package.json
CHANGED
|
@@ -1,18 +1,38 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@awc-ui/vue",
|
|
3
|
-
"version": "1.0.0-beta.
|
|
4
|
-
"description": "Vue 3
|
|
3
|
+
"version": "1.0.0-beta.9",
|
|
4
|
+
"description": "Typed Vue 3 components for accessible Material Design 3 Web Components, with automatic registration and Nuxt SSR support",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"vue",
|
|
7
7
|
"vue3",
|
|
8
|
+
"vue-component",
|
|
8
9
|
"vue-components",
|
|
10
|
+
"components",
|
|
9
11
|
"material-design",
|
|
10
12
|
"material-design-3",
|
|
11
13
|
"md3",
|
|
12
14
|
"ui-components",
|
|
13
15
|
"component-library",
|
|
14
16
|
"web-components",
|
|
15
|
-
"design-system"
|
|
17
|
+
"design-system",
|
|
18
|
+
"material-3",
|
|
19
|
+
"vue-ui",
|
|
20
|
+
"custom-elements",
|
|
21
|
+
"typescript",
|
|
22
|
+
"accessibility",
|
|
23
|
+
"wcag",
|
|
24
|
+
"ui-library",
|
|
25
|
+
"vue-ui-library",
|
|
26
|
+
"vue-ui-components",
|
|
27
|
+
"vue-component-library",
|
|
28
|
+
"web-component",
|
|
29
|
+
"vue-web-components",
|
|
30
|
+
"vue-ssr",
|
|
31
|
+
"nuxt",
|
|
32
|
+
"nuxt3",
|
|
33
|
+
"nuxt-components",
|
|
34
|
+
"server-side-rendering",
|
|
35
|
+
"ssr"
|
|
16
36
|
],
|
|
17
37
|
"publishConfig": {
|
|
18
38
|
"access": "public"
|
|
@@ -35,12 +55,12 @@
|
|
|
35
55
|
],
|
|
36
56
|
"peerDependencies": {
|
|
37
57
|
"vue": ">=3",
|
|
38
|
-
"@awc-ui/core": "1.0.0-beta.
|
|
58
|
+
"@awc-ui/core": "1.0.0-beta.9"
|
|
39
59
|
},
|
|
40
60
|
"devDependencies": {
|
|
41
61
|
"esbuild": "^0.25.12",
|
|
42
62
|
"typescript": "^5.4.0",
|
|
43
|
-
"@awc-ui/core": "1.0.0-beta.
|
|
63
|
+
"@awc-ui/core": "1.0.0-beta.9"
|
|
44
64
|
},
|
|
45
65
|
"license": "MIT",
|
|
46
66
|
"author": "AWC UI",
|