vg-print-vue2 1.0.301 → 1.0.303

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.en.md CHANGED
@@ -48,6 +48,21 @@ import { setSocketIo } from 'vg-print'
48
48
  setSocketIo(io)
49
49
  ```
50
50
 
51
+ If you need the Data Source feature, install the optional dependency in your host app:
52
+
53
+ ```bash
54
+ npm i axios
55
+ ```
56
+
57
+ In your main entry file (e.g., `main.ts`):
58
+
59
+ ```js
60
+ import axios from 'axios'
61
+ import { setHttpClient } from 'vg-print-vue2'
62
+
63
+ setHttpClient(axios)
64
+ ```
65
+
51
66
  ## Header Component
52
67
 
53
68
  - Used for the top area of the page, with built-in common operation buttons and printer settings; supports customization via `props` and `slots`.