I followed steps 1 through 4 of the Vue documentation as follows:
-
As indicated in the documentation
-
As indicated in the documentation
-
I declared the plugin with defineNuxtConfig in vite.plugins; no other changes
-
At first, I tried putting it in a plugin (~/plugins/boneyard-js.ts) (since there is no main.ts in Nuxt), but it threw an error because the path (.../bones/...) didn't exist. I tried running the dev server first without the Nuxt plugin to see if it would generate the folder, but that didn't work either, so I deliberately skipped that entire step
It just doesn't work, it doesn't generate any files or folders anywhere. I also tried using the pluginOptions { framework: 'vue', out: './bones' }, but that didn't work either
I followed steps 1 through 4 of the Vue documentation as follows:
As indicated in the documentation
As indicated in the documentation
I declared the plugin with
defineNuxtConfiginvite.plugins; no other changesAt first, I tried putting it in a plugin (
~/plugins/boneyard-js.ts) (since there is nomain.tsin Nuxt), but it threw an error because the path (.../bones/...) didn't exist. I tried running the dev server first without the Nuxt plugin to see if it would generate the folder, but that didn't work either, so I deliberately skipped that entire stepIt just doesn't work, it doesn't generate any files or folders anywhere. I also tried using the
pluginOptions{ framework: 'vue', out: './bones' }, but that didn't work either