Skip to main content

Day 9 - Maintaining Vue 3 Project

Update documentations of project

  • Create centralized docs based on routes, service, stores
  • Use jsdocs

Organizing folder & file structure of stores, routes, services, views and git properly

  • Example of commit message format: angular/CONTRIBUTING.md at main
    • https://github.com/angular/angular/blob/main/CONTRIBUTING.md#commit
  • Using mapState, mapActions helpers in pinia
  • Organize folder & file based on routes / features
  • Make repeating code with same syntax / layout to component

Simplify the code base

  • Make use of SFC
  • F.I.R.S.T principle

Track third-party packages

  • Usage
    • Try to create independent feature first
    • If not possible, use only a portion from package
  • Size
    • Monitor and optimize the size of installed package that already build from project
  • Dependencies of packages
    • Monitor for security issue from dependencies based on severity rating



Last modified: Monday, 29 May 2023, 12:38 PM