pgo-ui 1.0.42 → 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.
@@ -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'/src/index.js'
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
 
@@ -0,0 +1,4 @@
1
+ import { _ as f } from "./index-DiqbgH7h.js";
2
+ export {
3
+ f as default
4
+ };