Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Implementation rules

  1. Use file structure below
  2. Each product should have sepearate and independent Pinia store
  3. Use nested routes 
  4. All JSON objects returned from our response must check for empty or null values
  5. Only Vue3 is accepted. Vue2 is not accepted


Folder Structure

  • apis - API to interact with our aggregator
  • assets - static data resources
    • icons
    • images
    • css
  • components - Vue.js components
  • plugins - Vue.js plugins
  • router - Vue routers
  • store - Pinia state management library
  • utils - Product calculation
  • views - Vue page
    • booking
    • shopping
      • air
      • hotels
      • cruise
      • insurance
      • carrental
      • cartransfer
      • rail
      • touractivity
      • dynamicpkg
    • party
    • accounting
      • salesinvoice 
      • payment
    • common

Implementation rules

...


References

  1. https://router.vuejs.org/guide/essentials/nested-routes.html
  2. https://vueschool.io/articles/vuejs-tutorials/how-to-structure-a-large-scale-vue-js-application/