morghulis 4.1.0 → 4.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 +8 -3
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -39,12 +39,17 @@ npm install morghulis element-plus
39
39
  ```typescript
40
40
  import {createApp} from 'vue'
41
41
  import App from './App.vue'
42
- import createMorghulis from "morghulis";
42
+ // install element-plus first
43
+ import 'element-plus/dist/index.css'
44
+ import ElementPlus from 'element-plus'
45
+ // install morghulis
43
46
  import 'morghulis/style'
44
-
47
+ import createMorghulis from "morghulis";
45
48
 
46
49
  const app = createApp(App)
47
- app.use(createMorghulis()).mount('#app')
50
+ app.use(ElementPlus)
51
+ app.use(createMorghulis())
52
+ app.mount('#app')
48
53
  ```
49
54
 
50
55
  ## getting start
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "morghulis",
3
- "version": "4.1.0",
3
+ "version": "4.1.1",
4
4
  "type": "module",
5
5
  "publishConfig": {
6
6
  "access": "public"