pgo-ui 1.0.43 → 1.0.44
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/PGO UI README.md +7 -1
- package/dist/Radio-DuwUFKfV.js +4 -0
- package/dist/{index-DMFaLS5a.js → index-DiqbgH7h.js} +1962 -1956
- package/dist/index.es.js +1 -1
- package/dist/index.umd.js +29 -29
- package/package.json +1 -1
- package/src/index.js +2 -2
- package/src/main.js +5 -2
- package/src/pgo-components/services/axios.js +12 -4
- package/dist/Radio-DbIXHvQx.js +0 -4
package/PGO UI README.md
CHANGED
|
@@ -17,12 +17,18 @@ npm install pgo-ui
|
|
|
17
17
|
import { createApp } from 'vue'
|
|
18
18
|
import App from './App.vue'
|
|
19
19
|
import router from './router'
|
|
20
|
-
import PgoUiux from'
|
|
20
|
+
import PgoUiux from 'pgo-ui'
|
|
21
|
+
import { createApi } from 'pgo-ui'
|
|
22
|
+
|
|
23
|
+
const api = createApi({
|
|
24
|
+
withCredentials: true,
|
|
25
|
+
});
|
|
21
26
|
|
|
22
27
|
const baseUrl = import.meta.env.VITE_API_BASE_URL
|
|
23
28
|
|
|
24
29
|
const app = createApp(App)
|
|
25
30
|
|
|
31
|
+
app.provide('api', api);
|
|
26
32
|
app.use(router)
|
|
27
33
|
app.provide('baseUrl', baseUrl);
|
|
28
34
|
|