TypeError for bridge:{autoImports} in nuxt.config.ts
See original GitHub issueEnvironment
- Operating System:
Darwin
- Node Version:
v16.15.0
- Nuxt Version:
2.16.0-27616340.013f051b
- Package Manager:
yarn@3.2.1
- Builder:
webpack
- User Config:
srcDir
,bridge
,ssr
,dev
,webpackOptimisations
,alias
,image
,generate
,head
,typescript
,publicRuntimeConfig
,privateRuntimeConfig
,css
,loading
,loadingIndicator
,plugins
,components
,buildModules
,modules
,proxy
,axios
,vuetify
,build
,serverHandlers
,devServerHandlers
- Runtime Modules:
@nuxtjs/vuetify@1.12.3
,@nuxt/image@0.6.2
,@nuxtjs/axios@5.13.6
,@nuxtjs/proxy@2.1.0
,nuxt-social-meta@1.0.0
- Build Modules:
()
,nuxt-storm@1.1.3
,nuxt-compress@5.0.0
,nuxt-webpack-optimisations@2.2.4
,@pinia/nuxt@0.3.1
,@nuxt/bridge@3.0.0-27636329.42ea75b
Reproduction
Add this to nuxt.config.ts
bridge: {
autoImports: {
dirs: [
// Scan composables from nested directories
'composables/**',
],
},
},
Describe the bug
Additional context
No response
Logs
No response
Issue Analytics
- State:
- Created a year ago
- Comments:10 (2 by maintainers)
Top Results From Across the Web
Customer Provider in nuxt.config.ts leads to: TypeError ...
Hello, so im trying to add a custom provider in my nuxt.config.ts image: { providers: { customProvider: { name: 'customProvider', ...
Read more >Configuration - Nuxt
This default configuration can be overwritten with the nuxt.config.js file. The css Property. Nuxt lets you define the CSS files/modules/libraries you want to ......
Read more >Nuxt Typescript with Custom Server Framework: TypeError
The error when building with node --require ts-node/register ... Here are related settings in nuxt.config.js and tsconfig.nuxt.jso .
Read more >Install Tailwind CSS with Nuxt.js
Using npm, install tailwindcss and its peer dependencies, as well as @nuxt/postcss8 , and then run the init command to generate the tailwind.config.js...
Read more >Migrate to Nuxt 3: Configuration
Build your next Vue.js application with confidence using Nuxt. An open source framework under MIT license that makes web development simple and powerful....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Ah, yes. This was an upstream change in
unimport
. Please see this migration guide. It is for Nuxt 3 but applies in this case.To be clear,
bridge.imports
(we’ve recently renamed it) should be set to true/false. Configuration is provided in a top-levelimports
key.