You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Follow the vueforms installation instructions in the layer
Start the main app
Describe the bug
The app cannot be rendered because it is missing vueform.config.ts (since this file is sitting in the layer, and not in the main app).
The following error is shown: ERROR [nuxt] Could not compile template vueformPlugin.mjs.
Putting vueform.config.ts in the main app solves this error.
Additional context
Other nuxt packages like @nuxtjs/tailwindcss support that their config file is taken from the layer if no file is found in the main app. Alternatively, nuxt-ui adds its config to app.config.ts.
Logs
No response
The text was updated successfully, but these errors were encountered:
Make sure any dependency imported in the layer is explicitly added to the dependencies. The nuxt dependency, and anything only used for testing the layer before publishing, should remain in the devDependencies field.
Environment
nuxt 3.7.0
vueforms
Reproduction
Describe the bug
The app cannot be rendered because it is missing
vueform.config.ts
(since this file is sitting in the layer, and not in the main app).The following error is shown:
ERROR [nuxt] Could not compile template vueformPlugin.mjs.
Putting
vueform.config.ts
in the main app solves this error.Additional context
Other nuxt packages like
@nuxtjs/tailwindcss
support that their config file is taken from the layer if no file is found in the main app. Alternatively, nuxt-ui adds its config toapp.config.ts
.Logs
No response
The text was updated successfully, but these errors were encountered: