Posted 8 February 2021, 8:45 pm EST
Hi,
I got error when I declare parameter in my path url…
in my router.js
{
path: ‘/report/:x’,
name:‘testReport’,
component: testReport,
meta: {
requiresAuth: true,
title: ‘message.ecommerce’,
breadcrumb: null
}
},
In my report.vue I want to extract the url parameter and pass the parameters to the activereport js…
here is my code