Комментарии:
Thank you..!
ОтветитьIts not working man, showing
Export default (imported as 'VueRouter') was not found in 'vue-router'
hey guys, like me, if you are watching this tutorial around today's date and you want to setup your routing based on this episode, you might confront many errors that can be a real headache. Now FYI, vue-cli has added the option for setting up routing in your view project while you are setting up your whole project, so I suggest that you build a new project using vue-cli but this time use manual selecting feature while setting up your project, there is no need to worry about anything, you do not need to change anything much, just add the routing feature to your project, then run and checkout the routing in your new project. hopefully there won't be anything overwhelming if you have watched episodes about routing and you can understand it all in less then 15 minutes then you can add your previous files to this new project folders and use routing feature while following this awesome tutorial.✌
Ответитьthanks buddy
Ответитьhow to avoid page refresh after navigation??? plz
Ответитьunfortunately things are kinda different in 2020 its making this tutorial almost useless
ОтветитьCan I also use vue ui to import and add vue-router ?
Is it the best options ?
why ?
Thank you for the amazing content :)
ОтветитьDoes not work anymore
ОтветитьI'm studying vue js in Korea. Thank you for a good lecture.
ОтветитьThe BEST as always!
Ответитьhmm my /add route is not working... just defaults back to showBlogs components..any ideas why anyone?
ОтветитьUmm, but how to add multiple components in a route?
ОтветитьHi
I have a Question.
How do I make the component reload when my router needs to navigate to same route path
(Lets says user has navigated to About Page from Home Page ,and when he clicks About Page again ,then the About Page component has to be fully reloaded irrespective of the state)
This routing feels weird. I mean, you will eventually route to every page/component in the site, so that means eventually you are importing every single component at the top of the file!
Just feels inefficient somehow.
Hopefully Vue or JS can someday do something like PHP autoloading so that it can automatically find and load the files without explicitly importing them everywhere.
Thankyou very much
ОтветитьI tested my code before proceeding so I know it works before adding and removing parts. When I remove "<show-Blogs> and <list-Blogs>" and replace them with <router-view> nothing displays, I don't get any errors.
Where does "<router-view>" come from ? I haven't seen it defined anywhere.
Dont work routing.
'Failed to compile - can't resolve: "vue.resource"'
Thanks for this amazing tutorial ! Each of your tutorial deserves a comment :)
ОтветитьNow, as a Brit.....is it 'Routing' or 'Rooting'???
ОтветитьNice tutorial. Excellent video and audio quality and well explained! thanks.
Ответитьjust perfect
ОтветитьWhy not use var instead of const? var is a bit shorter.
ОтветитьMy addblog component isn't rendering -- only the showblogs renders when I navigate to '/' and '/add' I'm stuck right now. Please helpOne more thing, isn't is possible to connect to mysql database in VueCli environment?Thanks man...
Ответить