Skip to content
Advertisement

Tag: router

Issue with Dependency cycle via in Vue.js

I’m having an issue with a linting error in a vue.js project. The error that I get looks like this: I have no idea how to get rid of this error. I tried renaming files, using this.$router and this.$store with no luck. Here is some of my code: router -> index.js: The data path is the main one I want

How to pass id parameter to child route?

I have the following route config and in this example, I can get the id parameter in the StudentComponent by using the route functions. However, I need to pass this id parameter to the child route of this component, but I am not sure if I have to update the following config to pass this id parameter to the EducationComponent.

Advertisement