# Getting Started

# Install with NPM or Yarn

$ npm i vue-routisan@next
$ # or yarn add vue-routisan@next

# Upgrading from v2

v3 contains breaking changes.

Please see the upgrade guide and changelog for more information.

# The Scaffold

Made up of two primary components, Route and Factory, Routisan is really easy to use. Simply declare your routes and add them to the Vue Router instance:

import Vue from 'vue'
import Router from 'vue-router'
import { Route, Factory } from 'vue-routisan'

// Install VueRouter

// Define your routes…

// Export a new router with Routisan’s routes applied.
export const router = new Router({
  mode: 'history',
  routes: Factory.routes()
Last Updated: 1/10/2021, 7:51:40 AM