Fixed scroll component so it uses slot props instead of the depcrecated .

This commit is contained in:
DebaucheryLibrarian
2020-12-26 23:51:27 +01:00
parent ced8f447a7
commit c503e12adb
32 changed files with 1421 additions and 1538 deletions

View File

@@ -1,5 +1,4 @@
import Vue from 'vue';
import VueRouter from 'vue-router';
import { createRouter, createWebHistory } from 'vue-router';
import Home from '../components/home/home.vue';
import Release from '../components/releases/release.vue';
@@ -14,8 +13,6 @@ import Search from '../components/search/search.vue';
import Stats from '../components/stats/stats.vue';
import NotFound from '../components/errors/404.vue';
Vue.use(VueRouter);
const routes = [
{
path: '/',
@@ -184,15 +181,15 @@ const routes = [
component: NotFound,
},
{
path: '*',
path: '/:catchAll(.*)',
redirect: {
name: 'not-found',
},
},
];
const router = new VueRouter({
mode: 'history',
const router = createRouter({
history: createWebHistory(),
routes,
});