File tree Expand file tree Collapse file tree 3 files changed +5
-13
lines changed
packages/theme-pink-cupcake/src Expand file tree Collapse file tree 3 files changed +5
-13
lines changed Original file line number Diff line number Diff line change 33 * See : https://vuejs.org/guide/components/registration
44 */
55import type { App } from 'vue'
6- import {
7- ErrorPage
8- } from '../views/Core'
6+ import { ErrorPage } from '../views/Core'
97
108export default {
119 install : ( app : App ) => {
Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ const title = computed(() => {
3535 case ' 404' :
3636 case ' 405' :
3737 case ' 410' :
38- return ' ERROR.' + props .errorCode + ' .TITLE'
38+ return ' ERROR.' + props .errorCode + ' .TITLE'
3939 default :
4040 return ' ERROR.TITLE'
4141 }
@@ -49,17 +49,13 @@ const description = computed(() => {
4949 case ' 404' :
5050 case ' 405' :
5151 case ' 410' :
52- return ' ERROR.' + props .errorCode + ' .DESCRIPTION'
52+ return ' ERROR.' + props .errorCode + ' .DESCRIPTION'
5353 default :
5454 return ' ERROR.DESCRIPTION'
5555 }
5656})
5757 </script >
5858
5959<template >
60- <UFInfoBox
61- to =" /"
62- :faIcon =" faIcon"
63- :value =" $t(title)"
64- :label =" $t(description)" />
60+ <UFInfoBox to =" /" :faIcon =" faIcon" :value =" $t(title)" :label =" $t(description)" />
6561</template >
Original file line number Diff line number Diff line change 11import ErrorPage from './ErrorPage.vue'
22
3- export {
4- ErrorPage
5- }
3+ export { ErrorPage }
You can’t perform that action at this time.
0 commit comments