@d-mok/quasar-app-extension-quasar-axe 3.1.1 → 3.1.2
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
|
@@ -9,7 +9,7 @@ function pascal(s: string): string {
|
|
|
9
9
|
|
|
10
10
|
console.log('[QuasarAxe] Run Boot AutoReg')
|
|
11
11
|
|
|
12
|
-
const components = import.meta.
|
|
12
|
+
const components = import.meta.glob<any>('src/**/*.vue', { eager: true })
|
|
13
13
|
|
|
14
14
|
export default boot(({ app }) => {
|
|
15
15
|
for (let path in components) {
|
|
@@ -13,14 +13,14 @@ const HOME_ROUTE = process.env.HOME_ROUTE ?? '/'
|
|
|
13
13
|
|
|
14
14
|
console.log('[QuasarAxe] Run Boot AutoRoute')
|
|
15
15
|
|
|
16
|
-
const pages = import.meta.
|
|
16
|
+
const pages = import.meta.glob<any>('src/**/pages/**/*.vue', { eager: true })
|
|
17
17
|
|
|
18
18
|
const routes = Object.keys(pages).map(path => ({
|
|
19
19
|
path: pascal(path).toLowerCase(),
|
|
20
20
|
component: pages[path].default,
|
|
21
21
|
}))
|
|
22
22
|
|
|
23
|
-
const _pages = import.meta.
|
|
23
|
+
const _pages = import.meta.glob<any>('src/**/_*.vue', { eager: true })
|
|
24
24
|
|
|
25
25
|
const _routes = Object.keys(_pages).map(path => ({
|
|
26
26
|
path: pascal(path).toLowerCase().replace('_', ''),
|