Put in order · Vue.js course · Module 15: TypeScript & Nuxt
withDefaults Syntax
Arrange the correct withDefaults syntax with defineProps:
Items to put in order
- , { maxItems: 10 }
- defineProps<Props>()
- )
- withDefaults(
You can check the correct answer by solving this task in the CodeWorlds game.