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

Compare with Current View Page History

« Previous Version 9 Next »

Implementation rules

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

Source Control

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