Skip to content
Advertisement

Tag: vue.js

Pass params in google maps API url in vue.js

I have two params I get from a $router.push() : {{ this.$route.params.lat }} and{{ this.$route.params.lng }}. They are latitude and longitude coordinates. I have to pass the two of them in an URL to get a Google Maps: But doing so doesn’t work, I have a error message: Interpolation inside attributes has been removed. Use v-bind or the colon shorthand

Need help for a Vue – BMI Calculator

I am learning Webdev with Vue. And in my project, I built a component to calculate the BMI of a person. I have created a form with bootstrap-vue to get the values I need. And now I need help for the JavaScript part. I just don’t know how to correct it. Formula I have used: Answer A few issues: The

Advertisement