@bildvitta/quasar-app-extension-asteroid 3.0.0-beta.7 → 3.0.0
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 +2 -2
- package/src/boot/error-pages.js +6 -0
- package/src/index.js +0 -1
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bildvitta/quasar-app-extension-asteroid",
|
|
3
3
|
"description": "Asteroid",
|
|
4
|
-
"version": "3.0.0
|
|
4
|
+
"version": "3.0.0",
|
|
5
5
|
"author": "Bild & Vitta <systemteam@bild.com.br>",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"main": "src/index.js",
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
"yarn": ">= 1.6.0"
|
|
30
30
|
},
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@bildvitta/quasar-ui-asteroid": "3.
|
|
32
|
+
"@bildvitta/quasar-ui-asteroid": "^3.x",
|
|
33
33
|
"humps": "^2.0.1"
|
|
34
34
|
}
|
|
35
35
|
}
|
package/src/boot/error-pages.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import ForbiddenPage from '@bildvitta/quasar-ui-asteroid/src/pages/Forbidden.vue'
|
|
2
2
|
import NotFoundPage from '@bildvitta/quasar-ui-asteroid/src/pages/NotFound.vue'
|
|
3
3
|
import ServerError from '@bildvitta/quasar-ui-asteroid/src/pages/ServerError.vue'
|
|
4
|
+
import Unauthorized from '@bildvitta/quasar-ui-asteroid/src/pages/Unauthorized.vue'
|
|
4
5
|
|
|
5
6
|
export default function ({ router }) {
|
|
6
7
|
const routes = [
|
|
@@ -13,6 +14,11 @@ export default function ({ router }) {
|
|
|
13
14
|
name: 'ServerError',
|
|
14
15
|
path: '/',
|
|
15
16
|
component: ServerError
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
name: 'Unauthorized',
|
|
20
|
+
path: '/',
|
|
21
|
+
component: Unauthorized
|
|
16
22
|
}
|
|
17
23
|
]
|
|
18
24
|
|