@wwtdev/bsds-components-vue3 0.1.0 → 0.1.1

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.
Files changed (2) hide show
  1. package/README.md +25 -5
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -1,11 +1,31 @@
1
- # `components-vue3`
1
+ # BSDS Components for Vue 3
2
2
 
3
- > TODO: description
3
+ ## Installation
4
4
 
5
- ## Usage
5
+ ```bash
6
+ npm install --save @wwtdev/bsds-components-vue3
7
+ ```
8
+ ## Using the Components
9
+
10
+ Add the following to your `main.js` file to import and use the component library:
11
+
12
+ ```
13
+ import { ComponentLibrary } from '@wwtdev/bsds-components-vue3';
14
+ import '@wwtdev/bsds-components/www/build/components.css'
6
15
 
16
+ createApp(App).use(ComponentLibrary).mount('#app')
7
17
  ```
8
- const componentsVue3 = require('components-vue3');
9
18
 
10
- // TODO: DEMONSTRATE API
19
+ Now you can use BSDS Components in your code, just like standard Vue components:
20
+
11
21
  ```
22
+ <script setup>
23
+ import { BsButton } from '@wwtdev/bsds-components-vue3'
24
+ </script>
25
+
26
+ <template>
27
+ <div>
28
+ <BsButton>Hello World!</BsButton>
29
+ </div>
30
+ </template>
31
+ ```
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wwtdev/bsds-components-vue3",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "BSDS Vue3 Components",
5
5
  "homepage": "",
6
6
  "license": "ISC",