zan-layer 1.0.2 → 1.0.4

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
@@ -17,7 +17,7 @@
17
17
  ## 📦 安装
18
18
 
19
19
  ```bash
20
- npm install @zan-ui/layer
20
+ npm install zan-layer
21
21
  ```
22
22
 
23
23
  ## 🚀 快速开始
@@ -26,8 +26,8 @@ npm install @zan-ui/layer
26
26
 
27
27
  ```js
28
28
  import { createApp } from 'vue'
29
- import ZanLayer from '@zan-ui/layer'
30
- import '@zan-ui/layer/dist/style.css'
29
+ import ZanLayer from 'zan-layer'
30
+ import 'zan-layer/lib/index.css'
31
31
 
32
32
  const app = createApp(App)
33
33
  app.use(ZanLayer)
@@ -37,7 +37,7 @@ app.mount('#app')
37
37
  ### 基础使用
38
38
 
39
39
  ```js
40
- import { zanLayer } from '@zan-ui/layer'
40
+ import { zanLayer } from 'zan-layer'
41
41
 
42
42
  // 消息提示
43
43
  zanLayer.msg('操作成功', { icon: 1, time: 2000 })