You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 6 Next »

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

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


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/
  • No labels