Sybren A. Stüvel 819767ea1a Webapp: tweak the .editorconfig and .prettierrc files + re-format
Try to get the `.editorconfig` and `.prettierrc` files as close as possible
to the formatting that was used in Flamenco. Because these files weren't
here during most of Flamenco's development so far, having them caused quite
a few changes in the webapp files.

No functional changes intended.
2023-09-11 17:22:18 +02:00

38 lines
837 B
JavaScript

import { createRouter, createWebHistory } from 'vue-router';
const router = createRouter({
history: createWebHistory(import.meta.env.BASE_URL),
routes: [
{
path: '/',
name: 'index',
redirect: { name: 'jobs' },
},
{
path: '/jobs/:jobID?/:taskID?',
name: 'jobs',
component: () => import('../views/JobsView.vue'),
props: true,
},
{
path: '/workers/:workerID?',
name: 'workers',
component: () => import('../views/WorkersView.vue'),
props: true,
},
{
path: '/tags',
name: 'tags',
component: () => import('../views/TagsView.vue'),
props: true,
},
{
path: '/last-rendered',
name: 'last-rendered',
component: () => import('../views/LastRenderedView.vue'),
},
],
});
export default router;