Put in order · Vue.js course · Module 6: Components

Creating a complete component

Arrange the steps for creating a component from start to use:

Items to put in order

  • Import and use in the parent
  • Add a template section with HTML
  • Add scoped styles
  • Add script setup with logic
  • Create a .vue file

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