On first load, the select component gets rendered correctly. If page or component in v-if change, then it reinitializes the select and adds double element. I have followed the steps from framework guides, but the solution there does not even initialize it on first load.
On first load, the select component gets rendered correctly. If page or component in v-if change, then it reinitializes the select and adds double element. I have followed the steps from framework guides, but the solution there does not even initialize it on first load.
plugins/preline.client.ts:
After second load of component, it will look like this:
EDIT: Added a basic demo: https://nuxt-preline-test.netlify.app/test Code: https://github.com/oliver-savi/preline-test