Put in order · Vue.js course · Module 9: Composables & VueUse
Installing and Using VueUse
Arrange the steps for installing and using VueUse:
Items to put in order
- const settings = useLocalStorage('key', defaultValue)
- settings.value = newValue (auto-sync)
- npm install @vueuse/core
- import { useLocalStorage } from '@vueuse/core'
You can check the correct answer by solving this task in the CodeWorlds game.