@d-mok/quasar-app-extension-quasar-axe 2.1.49 → 2.1.51

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@d-mok/quasar-app-extension-quasar-axe",
3
- "version": "2.1.49",
3
+ "version": "2.1.51",
4
4
  "description": "A Quasar App Extension",
5
5
  "author": "d-mok <49301824+d-mok@users.noreply.github.com>",
6
6
  "license": "MIT",
package/src/index.js CHANGED
@@ -24,6 +24,14 @@ function extendQuasarConf(conf, prompts) {
24
24
 
25
25
  conf.animations.push('fadeIn', 'fadeOut', 'zoomIn', 'zoomOut')
26
26
  console.log('[QuasarAxe] Config pushed animations')
27
+
28
+ conf.build.viteVuePluginOptions = {
29
+ script: {
30
+ defineModel: true,
31
+ propsDestructure: true,
32
+ },
33
+ }
34
+ console.log('[QuasarAxe] Config pushed viteVuePluginOptions')
27
35
  }
28
36
 
29
37
  module.exports = function (api) {
@@ -67,13 +67,21 @@
67
67
  :key="$route.fullPath"
68
68
  >
69
69
  <transition
70
- enter-active-class="animated fadeIn"
71
- leave-active-class="animated fadeOut"
70
+ enterActiveClass="animated fadeIn"
71
+ leaveActiveClass="animated fadeOut"
72
72
  appear
73
73
  mode="out-in"
74
74
  :duration="200"
75
75
  >
76
- <component :is="Component" />
76
+ <q-page
77
+ padding
78
+ class="q-mx-auto q-gutter-md"
79
+ >
80
+ <component
81
+ :is="Component"
82
+ style="margin: auto"
83
+ />
84
+ </q-page>
77
85
  </transition>
78
86
  </router-view>
79
87
  </q-page-container>