forked from verdnatura/salix-front
Merge
This commit is contained in:
commit
5fe5ee08fb
|
@ -10,6 +10,12 @@ yarn
|
||||||
npm install
|
npm install
|
||||||
```
|
```
|
||||||
|
|
||||||
|
### Install quasar cli
|
||||||
|
|
||||||
|
```bash
|
||||||
|
sudo npm install -g @quasar/cli
|
||||||
|
```
|
||||||
|
|
||||||
### Start the app in development mode (hot-code reloading, error reporting, etc.)
|
### Start the app in development mode (hot-code reloading, error reporting, etc.)
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -32,11 +32,11 @@
|
||||||
"@intlify/vue-i18n-loader": "^4.1.0",
|
"@intlify/vue-i18n-loader": "^4.1.0",
|
||||||
"@quasar/app-webpack": "^3.6.2",
|
"@quasar/app-webpack": "^3.6.2",
|
||||||
"@quasar/quasar-app-extension-testing-e2e-cypress": "^4.2.2",
|
"@quasar/quasar-app-extension-testing-e2e-cypress": "^4.2.2",
|
||||||
"@quasar/quasar-app-extension-testing-unit-jest": "^3.0.0-alpha.10",
|
"@quasar/quasar-app-extension-testing-unit-jest": "^3.0.0-beta.5",
|
||||||
"eslint": "^8.10.0",
|
"eslint": "^8.10.0",
|
||||||
"eslint-config-prettier": "^8.1.0",
|
"eslint-config-prettier": "^8.1.0",
|
||||||
"eslint-plugin-cypress": "^2.11.3",
|
"eslint-plugin-cypress": "^2.11.3",
|
||||||
"eslint-plugin-jest": "^25.2.2",
|
"eslint-plugin-jest": "^27.1.5",
|
||||||
"eslint-plugin-vue": "^8.5.0",
|
"eslint-plugin-vue": "^8.5.0",
|
||||||
"eslint-webpack-plugin": "^3.1.1",
|
"eslint-webpack-plugin": "^3.1.1",
|
||||||
"jest-junit": "^13.0.0",
|
"jest-junit": "^13.0.0",
|
||||||
|
|
|
@ -21,6 +21,7 @@ export default {
|
||||||
reset: 'Reset',
|
reset: 'Reset',
|
||||||
cancel: 'Cancel',
|
cancel: 'Cancel',
|
||||||
confirm: 'Confirm',
|
confirm: 'Confirm',
|
||||||
|
back: 'Back',
|
||||||
yes: 'Yes',
|
yes: 'Yes',
|
||||||
no: 'No',
|
no: 'No',
|
||||||
noChanges: 'No changes to save',
|
noChanges: 'No changes to save',
|
||||||
|
|
|
@ -21,6 +21,7 @@ export default {
|
||||||
reset: 'Restaurar',
|
reset: 'Restaurar',
|
||||||
cancel: 'Cancelar',
|
cancel: 'Cancelar',
|
||||||
confirm: 'Confirmar',
|
confirm: 'Confirmar',
|
||||||
|
back: 'Volver',
|
||||||
yes: 'Si',
|
yes: 'Si',
|
||||||
no: 'No',
|
no: 'No',
|
||||||
noChanges: 'Sin cambios que guardar',
|
noChanges: 'Sin cambios que guardar',
|
||||||
|
|
|
@ -1,20 +1,39 @@
|
||||||
<template>
|
<script setup>
|
||||||
<div class="fullscreen bg-blue text-white text-center q-pa-md flex flex-center">
|
import { useI18n } from 'vue-i18n';
|
||||||
<div>
|
import { useRouter } from 'vue-router';
|
||||||
<div style="font-size: 30vh">404</div>
|
|
||||||
|
|
||||||
<div class="text-h2" style="opacity: 0.4">Oops. Nothing here...</div>
|
const router = useRouter();
|
||||||
|
const { t } = useI18n();
|
||||||
|
</script>
|
||||||
|
<template>
|
||||||
|
<div class="text-center q-pa-md flex flex-center">
|
||||||
|
<div>
|
||||||
|
<div class="text-grey-5" style="opacity: 0.4; font-size: 30vh">
|
||||||
|
<q-icon name="vn:claims" />
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="text-h2 text-grey-5" style="opacity: 0.4">{{ t('notFound') }}</div>
|
||||||
|
|
||||||
<q-btn
|
<q-btn
|
||||||
|
@click="router.go(-1)"
|
||||||
|
:label="t('globals.back')"
|
||||||
class="q-mt-xl"
|
class="q-mt-xl"
|
||||||
color="white"
|
color="primary"
|
||||||
text-color="blue"
|
|
||||||
unelevated
|
unelevated
|
||||||
to="/"
|
outline
|
||||||
label="Go Home"
|
|
||||||
no-caps
|
no-caps
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
<style lang="scss" scoped></style>
|
||||||
|
<i18n>
|
||||||
|
{
|
||||||
|
"en": {
|
||||||
|
"notFound": "Oops. Nothing here..."
|
||||||
|
},
|
||||||
|
"es": {
|
||||||
|
"notFound": "Vaya. Nada por aquí..."
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</i18n>
|
||||||
|
|
|
@ -25,13 +25,13 @@ const routes = [
|
||||||
customer,
|
customer,
|
||||||
ticket,
|
ticket,
|
||||||
claim,
|
claim,
|
||||||
],
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
path: '/:pathMatch(.*)*',
|
path: '/:pathMatch(.*)*',
|
||||||
name: 'NotFound',
|
name: 'NotFound',
|
||||||
component: () => import('../pages/NotFound.vue'),
|
component: () => import('../pages/NotFound.vue'),
|
||||||
}
|
}
|
||||||
|
],
|
||||||
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
export default routes;
|
export default routes;
|
Loading…
Reference in New Issue