Put in order · Vue.js course · Module 9: Composables & VueUse
Computed in a Composable
Arrange a computed property in a composable:
Items to put in order
- const totalPages =
- / perPage.value))
- computed(() =>
- Math.ceil(items.value.length
You can check the correct answer by solving this task in the CodeWorlds game.