NUXTE7007
En esta página
E7007#
useState() received a non-function initial value. The initializer must be a function so that it only runs once, on the server, and its result can be serialized into the payload for hydration.
Resolution#
const counter = useState('counter', () => 0)
::read-more{to="/docs/api/composables/use-state"} ::