sun-select-color 0.1.2 → 0.1.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 +2 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -12,6 +12,7 @@ npm i sun-select-color
|
|
|
12
12
|
|
|
13
13
|
```js
|
|
14
14
|
import { createApp } from 'vue'
|
|
15
|
+
import 'sun-select-color/dist/style.css'
|
|
15
16
|
import SunSelectColor from 'sun-select-color'
|
|
16
17
|
import App from './App.vue'
|
|
17
18
|
|
|
@@ -23,6 +24,7 @@ createApp(App)
|
|
|
23
24
|
### 直接导入组件(按需)
|
|
24
25
|
|
|
25
26
|
```js
|
|
27
|
+
import 'sun-select-color/dist/style.css'
|
|
26
28
|
import { ColorPicker } from 'sun-select-color'
|
|
27
29
|
```
|
|
28
30
|
|