Mastering Nuxt@masteringnuxt.comIf you want to run code on the client before Nuxt does any initialization, use the `onPreHydrate` composable. This lets you manipulate the DOM or add event listeners using only vanilla JavaScript:6/9/25, 2:33 pm·0 reposts·1 like