@davincihealthcare/elty-design-system-vue 1.0.2 → 1.0.3
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 +14 -2
- package/dist/elty.plugin.d.ts +5 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +3604 -3550
- package/dist/index.js.map +1 -1
- package/dist/style.css +1 -1
- package/package.json +14 -3
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# @davincihealthcare/elty-design-system-vue
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
This collection of reusable Vue components is designed to help you easily integrate and maintain a consistent design system across your company's projects. Whether you're building a new application or updating an existing one, these components are ready to be used and customized to match your brand guidelines.
|
|
4
4
|
|
|
5
5
|
## Getting Started
|
|
6
6
|
|
|
@@ -15,6 +15,18 @@ yarn add @davincihealthcare/elty-design-system-vue
|
|
|
15
15
|
|
|
16
16
|
## Usage
|
|
17
17
|
|
|
18
|
+
in tailwind.config file
|
|
19
|
+
|
|
20
|
+
```js
|
|
21
|
+
const { EltyPlugin } = require('@davincihealthcare/elty-design-system-vue');
|
|
22
|
+
|
|
23
|
+
module.exports = {
|
|
24
|
+
...
|
|
25
|
+
plugins: [EltyPlugin]
|
|
26
|
+
...
|
|
27
|
+
}
|
|
28
|
+
```
|
|
29
|
+
|
|
18
30
|
```js
|
|
19
31
|
// Import the component you need
|
|
20
32
|
import { ElButton } from '@davincihealthcare/elty-design-system-vue';
|
|
@@ -31,7 +43,7 @@ Now, you can use the imported component in your templates:
|
|
|
31
43
|
|
|
32
44
|
<script lang="ts" setup>
|
|
33
45
|
|
|
34
|
-
const handleClick = () {
|
|
46
|
+
const handleClick = () => {
|
|
35
47
|
// Handle button click
|
|
36
48
|
}
|
|
37
49
|
|
package/dist/index.d.ts
CHANGED