8 months ago

Blank page after Building Vue.js Applications for Production

Posted 8 months ago by mostafalaravel

Hello , After running :

npm run build

I got a blank page when I go to index.html in dist folder !

how to fix it ?

this is my route :

import Vue from 'vue'
import Router from 'vue-router'
import actions from './components/actions.vue'
import action_details from './components/action_details.vue'
import participations from './components/participations.vue'
import participation_details from './components/participation_details.vue'


export default new Router({
    routes: [

            path: '*',
            redirect: '/actions'
            path: '/actions',
            name: 'actions',
            component: actions
            path: '/actions/:actionNumber',
            name: 'action_details',
            component: action_details
            path: '/participations',
            name: 'participations',
            component: participations
            path: '/participations/:participationNumber',
            name: 'participation_details',
            component: participation_details
            path: '/participationsByAction/:actionNumber',
            name: 'participationsByAction',
            component: participations


Please sign in or create an account to participate in this conversation.