computed creates a value derived from other reactive data, cached and recomputed only if its dependencies change. watch runs a side effect when a specific source changes. watchEffect runs immediately and automatically tracks the data it uses.
Example
const total = computed(() => prix.value * quantite.value)
watch(total, (v) => console.log(v))