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:

debugging javascript web apps

How to master JavaScript debugging for web apps

With the right tools and strategies, JavaScript debugging can become much easier. Explore eight strategies for effective JavaScript debugging, including source maps and other techniques using Chrome DevTools.

Ivy Walobwa
Jan 9, 2025 â‹… 8 min read
A Deep Dive Into Angular’s FormArray Container

A deep dive into Angular’s FormArray container

This Angular guide demonstrates how to create a pseudo-spreadsheet application with reactive forms using the `FormArray` container.

Kayode Adeniyi
Jan 8, 2025 â‹… 3 min read
Handling React Loading States With React Loading Skeleton

Handling React loading states with React Loading Skeleton

Implement a loading state, or loading skeleton, in React with and without external dependencies like the React Loading Skeleton package.

Ibadehin Mojeed
Jan 7, 2025 â‹… 7 min read
Getting Ready For Tailwind V4.0

Getting ready for Tailwind v4.0

The beta version of Tailwind CSS v4.0 was released a few months ago. Explore the new developments and how Tailwind makes the build process faster and simpler.

Oscar Jite-Orimiono
Jan 6, 2025 â‹… 12 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