sprintify-ui 0.0.174 → 0.0.175
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 +7 -3
- package/dist/sprintify-ui.es.js +2672 -2673
- package/dist/types/src/components/BaseDatePicker.vue.d.ts +0 -5
- package/dist/types/src/components/BaseForm.vue.d.ts +1 -1
- package/package.json +1 -1
- package/src/components/BaseDatePicker.stories.js +0 -1
- package/src/components/BaseDatePicker.vue +9 -3
package/README.md
CHANGED
|
@@ -49,15 +49,17 @@ npm i @vueuse/core axios lodash luxon pinia qs tailwindcss vue vue-i18n vue-rout
|
|
|
49
49
|
### Basic Configuration
|
|
50
50
|
|
|
51
51
|
```ts
|
|
52
|
+
import { createApp } from 'vue';
|
|
52
53
|
import axios from "axios";
|
|
53
54
|
import { createI18n } from "vue-i18n";
|
|
54
55
|
import { createPinia } from "pinia";
|
|
55
56
|
import { createRouter, createWebHistory } from "vue-router";
|
|
56
57
|
import SprintifyUI from "sprintify-ui";
|
|
57
58
|
import { messages as SprintifyUIMessages } from "sprintify-ui";
|
|
59
|
+
import App from './App.vue';
|
|
58
60
|
|
|
59
61
|
// Import your TailwindCSS *before* importing Sprintify UI CSS
|
|
60
|
-
import "
|
|
62
|
+
import "./assets/tailwind.css";
|
|
61
63
|
|
|
62
64
|
// Import Sprintify UI CSS
|
|
63
65
|
import "sprintify-ui/dist/style.css";
|
|
@@ -65,8 +67,8 @@ import "sprintify-ui/dist/style.css";
|
|
|
65
67
|
/** Axios */
|
|
66
68
|
|
|
67
69
|
const http = axios.create({
|
|
68
|
-
|
|
69
|
-
})
|
|
70
|
+
useCredentials: true,
|
|
71
|
+
});
|
|
70
72
|
|
|
71
73
|
/** Vue i18n */
|
|
72
74
|
|
|
@@ -93,6 +95,8 @@ const router = createRouter({
|
|
|
93
95
|
history: createWebHistory("admin"),
|
|
94
96
|
});
|
|
95
97
|
|
|
98
|
+
const app = createApp(App);
|
|
99
|
+
|
|
96
100
|
/** Vue Plugins */
|
|
97
101
|
|
|
98
102
|
// Import router and i18n *before* importing Sprintify UI plugin
|