veue laravel remove #/

veue laravel remove #/

import Vue from 'vue'
import Router from 'vue-router'


let router = new Router({
    mode: 'history', //removes # (hashtag) from url
    base: '/',
    fallback: true, //router should fallback to hash (#) mode when the browser does not support history.pushState
    routes: [
        { path: '*', require('../components/pages/NotFound.vue') },
        //... + all your other paths here
export default router


Leave a Comment