2019-06-19
2576
#vue
Jordan Irabor
3154
Jun 19, 2019 â‹… 9 min read

Router options compared: Vue Router, Voie, Vue-routisan and Vue-route

Jordan Irabor Jordan is an innovative software developer with over five years of experience developing software with high standards and ensuring clarity and quality. He also follows the latest blogs and writes technical articles as a guest author on several platforms.

Recent posts:

Rxjs Adoption Guide: Overview, Examples, And Alternatives

RxJS adoption guide: Overview, examples, and alternatives

Get to know RxJS features, benefits, and more to help you understand what it is, how it works, and why you should use it.

Emmanuel Odioko
Jul 26, 2024 â‹… 13 min read
Decoupling Monoliths Into Microservices With Feature Flags

Decoupling monoliths into microservices with feature flags

Explore how to effectively break down a monolithic application into microservices using feature flags and Flagsmith.

Kayode Adeniyi
Jul 25, 2024 â‹… 10 min read
Lots of multi-colored blue and purplish rectangles.

Animating dialog and popover elements with CSS @starting-style

previous article about dialogs vs.popovers, we discussed that both these elements have their dedicated JavaScript APIs that allow us to […]

Rahul Chhodde
Jul 24, 2024 â‹… 10 min read
Using Llama Index To Add Personal Data To Large Language Models

Using LlamaIndex to add personal data to LLMs

LlamaIndex provides tools for ingesting, processing, and implementing complex query workflows that combine data access with LLM prompting.

Ukeje Goodness
Jul 23, 2024 â‹… 5 min read
View all posts

2 Replies to "Router options compared: Vue Router, Voie, Vue-routisan and Vue-route"

  1. You can create a folder called `routes` in the `src` directory. Then create a file called `index.js` within the `src/routes` directory and paste in the following code:

    “`import Home from ‘../components/Home’
    import About from ‘../components/About’

    const routes = [
    {
    path: ‘/’,
    name: ‘home’,
    component: Home
    },
    {
    path: ‘/about’,
    name: ‘about’,
    component: About
    }
    ]
    export default routes“`

Leave a Reply