canvas-color-disc 1.0.13 → 1.0.14

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 -7
  2. package/package.json +1 -2
package/README.md CHANGED
@@ -18,31 +18,32 @@
18
18
 
19
19
  ``` bash
20
20
  # install dependencies
21
- npm install
21
+ npm i canvas-color-disc --save
22
22
  ```
23
-
23
+ yarn
24
24
  ``` bash
25
- # serve examples at localhost:8080
26
- npm run start
25
+ # install dependencies
26
+ yarn add canvas-color-disc
27
27
  ```
28
28
 
29
+
29
30
  ```vue
30
31
  <template>
31
32
  <div id="app">
32
33
  <p>RGB: {{RGB}}</p>
33
34
  <p>changing RGB: {{changingRGB}}</p>
34
- <canvas-color-disc
35
+ <CanvasColorDisc
35
36
  vals="0"
36
37
  :rgb="RGB"
37
38
  :width="300"
38
39
  :height="240"
39
40
  @changing="changing"
40
- @change="change"></canvas-color-disc>
41
+ @change="change"></CanvasColorDisc>
41
42
  </div>
42
43
  </template>
43
44
 
44
45
  <script>
45
- import CanvasColorDisc from './components/CanvasColorDisc.vue'
46
+ import CanvasColorDisc from 'CanvasColorDisc'
46
47
  export default {
47
48
  name: 'App',
48
49
  components: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "canvas-color-disc",
3
- "version": "1.0.13",
3
+ "version": "1.0.14",
4
4
  "description": "Color disc realized by canvas",
5
5
  "private": false,
6
6
  "main": "src/index.js",
@@ -80,7 +80,6 @@
80
80
  "postcss-url": "^7.2.1",
81
81
  "purify-css": "^1.2.5",
82
82
  "purifycss-webpack": "^0.7.0",
83
- "quill": "^1.3.6",
84
83
  "rimraf": "^2.6.0",
85
84
  "sass-loader": "^7.3.1",
86
85
  "selenium-server": "^3.0.1",