evui 3.3.57 → 3.3.59

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 CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  ### Project setup
4
4
  ```
5
- npm install
5
+ npm i -D evui
6
6
  ```
7
7
 
8
8
  ### Compiles library for product
@@ -11,6 +11,9 @@ npm run build:lib
11
11
  ```
12
12
 
13
13
  ### Compiles and hot-reloads for development document project
14
+ - Node 12 is required to run the official documentation locally.
15
+ - We will upload the node version later.
16
+ - DOCUMENT : https://ex-em.github.io/EVUI
14
17
  ```
15
18
  npm run docs
16
19
  ```
@@ -30,11 +33,31 @@ npm run build
30
33
  npm run test:unit
31
34
  ```
32
35
 
33
- ### Lints and fixes files
36
+ ### Use Vue3 Project
34
37
  ```
35
- npm run lint
38
+ // main.ts
39
+ import App from '@/App.vue';
40
+ import EVUI from 'evui';
41
+
42
+ const app = createApp(App);
43
+
44
+ app.use(EVUI);
45
+
46
+ app.mount('#app');
36
47
  ```
37
48
 
49
+ ### Using Message Component
50
+ ```
51
+ // main.ts
52
+ import App from '@/App.vue';
53
+ import { EvMessageBox, EvMessage, EvNotification } from 'evui';
38
54
 
39
- ### Customize configuration
40
- See [Configuration Reference](https://cli.vuejs.org/config/).
55
+ const app = createApp(App);
56
+
57
+ app.use(EVUI);
58
+ app.config.globalProperties.$messagebox = EvMessageBox;
59
+ app.config.globalProperties.$messagex = EvMessage;
60
+ app.config.globalProperties.$notify = EvNotification;
61
+
62
+ app.mount('#app');
63
+ ```