Put in order · Vue.js course · Module 7: Props & Events

Manual attrs binding

Arrange the steps for manually binding attrs:

Items to put in order

  • const attrs = useAttrs()
  • defineOptions({ inheritAttrs: false })
  • <div v-bind="attrs">

You can check the correct answer by solving this task in the CodeWorlds game.