# Vue 3 Composition API Project Rules ## Vue 3 Composition API Best Practices - Use setup() function for component logic - Utilize ref and reactive for reactive state - Implement computed properties with computed() - Use watch and watchEffect for side effects - Implement lifecycle hooks with onMounted, onUpdated, etc. - Utilize provide/inject for dependency injection - Use vue 3.5 style of default prop declaration. Example: ```typescript const { nodes, showTotal = true } = defineProps<{ nodes: ApiNodeCost[] showTotal?: boolean }>() ``` - Organize vue component in