We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Describe the bug A clear and concise description of what the bug is.
Using
In nuxt.config.ts
modules: [ ..., 'nuxt-booster', ], booster: { detection: { performance: true, browserSupport: true, }, performanceMetrics: { device: { hardwareConcurrency: { min: 2, max: 48 }, deviceMemory: { min: 2 }, }, timing: { fcp: 800, dcl: 1200, }, }, componentAutoImport: false, componentPrefix: undefined, /** * IntersectionObserver rootMargin for Compoennts and Assets */ lazyOffset: { component: '0%', asset: '0%', }, },
In a "pages" file:
const hydrate = useBoosterHydrate()
To Reproduce Steps to reproduce the behavior:
Expected behavior A clear and concise description of what you expected to happen.
Screenshots If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context Add any other context about the problem here.
The text was updated successfully, but these errors were encountered:
Hello @tlkiong,
that's strange, have you tried importing the composable directly from the #imports?
#imports
import { useBoosterHydrate } from '#imports'; const hydrate = useBoosterHydrate();
And have you generally disabled auto-imports in nuxt?
nuxt
nuxt.config.js
{ imports: { autoImport: false }, }
Sorry, something went wrong.
No branches or pull requests
Describe the bug
A clear and concise description of what the bug is.
Using
In nuxt.config.ts
In a "pages" file:
To Reproduce
Steps to reproduce the behavior:
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: