Implementation rules
- Use Git source control
- Use our template downloadable from our extranet
- Use file structure below
- Each product should have sepearate and independent Pinia store
- Use nested routes
- All JSON objects returned from our response must check for empty or null values
- Only Vue3 is accepted. Vue2 is not accepted
Source Control
Folder Structure
- apis - API to interact with our aggregator
- assets - static data resources
- 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
- common
References
- https://router.vuejs.org/guide/essentials/nested-routes.html
- https://vueschool.io/articles/vuejs-tutorials/how-to-structure-a-large-scale-vue-js-application/