Vue
fromInfoQ
6 days agoVue Router 5: File-Based Routing Into Core with No Breaking Changes
Vue Router 5.0 integrates unplugin-vue-router into core with no breaking changes, adding file-based routing, data loaders, and improved developer tooling.
React Router was first released in November 2014 by Michael Jackson (not that M.J.) and Ryan Florence. At the time, most React developers were still figuring out how to handle navigation in single-page apps without resorting to low-level history manipulation. React Router provided a simple alternative. It lets you declare routes as JSX elements, which fit naturally into React's component model and way of thinking.
Zero-config setup that actually worked - Run npx create-next-app and you had SSR, routing, code splitting, and hot reloading without touching a single config file - and in all sincerity, if I want to take on a new personal project, I'd rather spend time writing functional code than setting up different tools File-based routing that made sense - Create a file in the pages folder and you have a route. No router configuration, no further setup.