<commit_before>// Routes
import Layout from '@/components/Layout'
import Welcome from '@/components/Welcome'
import Login from '@/components/auth/Login'
import Profile from '@/components/auth/UpdateProfile'
import UpdateProfile from '@/components/auth/UpdateProfile'
import App from '@/components/App'
import NotFound from '@/components/errors/404'
import Firestore from '@/components/Firestore'

import Vue from 'vue'

const routes = [{
    path: '/',
    component: Layout,
    children: [{
            path: '/',
            component: Welcome,
            name: 'Welcome'
        },
        {
            path: '/login',
            component: Login,
            name: 'login'
        },
        {
            path: '/update-profile',
            component: UpdateProfile,
            name: 'Profile Update',
            meta: {
                auth: true
            }
        },
        {
            path: '/realtime-database',
            component: App,
            name: 'Realtime Database',
            meta: {
                auth: true
            }
        },
        {
            path: '/firestore',
            component: Firestore,
            name: 'Cloud Firestore',
            meta: {
                auth: true
            }
        },
        {
            path: '/profile',
            component: Profile,
            name: 'Update Profile',
            meta : {
                auth: true
            }
        },
        {
            path: '*',
            component: NotFound
        }
    ]
}]


export default routes;
<commit_msg>setup routes<commit_after>// Routes
import Layout from '@/components/Layout'
import Welcome from '@/components/Welcome'
import Login from '@/components/auth/Login'
import Profile from '@/components/auth/UpdateProfile'
import App from '@/components/App'
import NotFound from '@/components/errors/404'
import Room from '@/components/Room'

import Vue from 'vue'

const routes = [{
    path: '/',
    component: Layout,
    children: [{
            path: '/',
            component: Welcome,
            name: 'Welcome'
        },
        {
            path: '/login',
            component: Login,
            name: 'login'
        },
        {
            path: '/room',
            component: Room,
            name: 'Cloud Firestore',
            meta: {
                auth: true
            }
        },
        {
            path: '/profile',
            component: Profile,
            name: 'Update Profile',
            meta : {
                auth: true
            }
        },
        {
            path: '*',
            component: NotFound
        }
    ]
}]


export default routes;

{'fraction_non_alphanumeric': 0.11508085746521249, 'fraction_numerical': 0.0022564874012786762, 'mean_word_length': 1.3110338835794961, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3178153', 'n_tokens_mistral': 685, 'n_tokens_neox': 666, 'n_words': 179}