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

Compare with Current View Page History

« Previous Version 8 Next »

Source Control

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


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