easycomponentstools 1.0.0-dev.4 → 1.0.0-dev.5

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/package.json +1 -1
  2. package/src/main.ts +5 -3
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "easycomponentstools",
3
3
  "private": false,
4
- "version": "1.0.0-dev.4",
4
+ "version": "1.0.0-dev.5",
5
5
  "type": "module",
6
6
  "description": "Easy Vue Components",
7
7
  "keywords": [
package/src/main.ts CHANGED
@@ -8,14 +8,12 @@ import { VFileUpload } from 'vuetify/labs/components'
8
8
  import { createI18n } from 'vue-i18n'
9
9
  import langEn from '../src/lang/en'
10
10
  import langEl from '../src/lang/el'
11
- import { createPinia } from 'pinia'
12
11
  import { useInfo } from './stores/useInfo'
13
12
  import EasyForm from './components/Form/EasyForm.vue'
14
13
  import './scss/app.scss'
15
14
 
16
15
  export default {
17
16
  install(app: App, props: pluginsPropertiesDTO) {
18
- useInfo().timeZone = props.timeZone
19
17
  const vuetify = createVuetify({
20
18
  components: {
21
19
  ...components,
@@ -51,9 +49,13 @@ export default {
51
49
  el: langEl,
52
50
  },
53
51
  })
54
- app.use(createPinia())
55
52
  app.use(vuetify)
56
53
  app.use(i18n)
57
54
  app.component('EasyForm', EasyForm)
55
+
56
+ app.runWithContext(() => {
57
+ const info = useInfo()
58
+ info.timeZone = props.timeZone
59
+ })
58
60
  },
59
61
  }