14th Apr 2022

Learning Nuxt/Vue 🟒

  • Nuxt.js just like Next has a pages directory where you create your pages. The page names are automatically turned into routes. Yet to learn about how it works for dynamic pages. You can make more modifications in the nuxt.config.js
  • Nuxt.js has a special directory called layouts which by the name obviously means that it's main purpose is to store the different layouts you have for your site πŸ™‚.
  • The default layout is named default.vue; it will be applied to pages where you didn't specify a custom layout.
  • Vue has a state management library called Vuex, it's the equivalent of Reduxin React