My controller serves my nuxt app through another app's controller. e.g. hitting https://google.com/my-address will actually reach out to a nuxt app hosted at https://custom-address/. The initial load returns the server side render html and successfully hydrates the page by fetching the appropriate bundles from https://custom-address. However, subsequent navigation (https://google.com/my-address/another-address/) will attempt to fetch bundles from https://google.com/_nuxt/ instead of https://custom-address. Is there a way to configure this address in webpack/nuxt? I assume this would be a webpack specific configuration, but perhaps nuxt has a configuration for it as well. Thanks in advance!
How can I change the address nuxt/webpack is attempting to fetch subsequent chunks from?
471 Views Asked by Steve At
1
There are 1 best solutions below
Related Questions in WEBPACK
- storybook 7 does not recognize module declarations
- webpack module federation "could not find react-redux context value; please ensure the component is wrapped in a <Provider"
- The webpack bundle created and stored in the project directory is different than the one used to run the application with webpack-dev-server
- Webpack Federated module's Production build fails with "Self-reference dependency has unused export name" when importing lodash
- Webpack outputting too many files
- Browserify Error: Uncaught TypeError: Unable to determine current node version in bundle.js
- Vanilla extract Next.js storybook: Can't resolve @vanilla-extract/css/recipe'
- Uncaught TypeError: _projects_js__WEBPACK_IMPORTED_MODULE_2__.default is undefined
- How to force angular while executing take files from /dist folder (now webpack takes them from it's memory)
- Vue3 cannot import `@cornerstone/tools` , with error `ICRPolySeg.wasm`
- Webpack Module Federation remote.js not updating (possibly cached)
- Adding Submodule Paths in a Vite React Library
- Webpack 5 - Error: Module parse failed: Unexpected character '@'
- Rollup : Uncaught TypeError: Cannot destructure property 'class' of 'object null' as it is null
- Can not find module "uiohook-napi" after installation .exe in electron forge
Related Questions in NUXT.JS
- Vue/TailwindCSS - Content is behind Sidebar
- Pass dynamic object data via nuxt-link to component
- Sends a personalised error message from the back-end to the front-end with Nuxt-auth
- how to search for content in Nuxt 3 with the @nuxt/content module using .json files?
- Import GLTF with TresJS in Nuxt
- How to dynamically add two v-text-fields to a form when a button is clicked and uniquely identify them
- multiple file components and false positives with eslint
- Nuxt.js 3 - useAppConfig() returning unknown
- Does the IPX nuxt-img provider store the generated files somewhere?
- How do I dynamically handle endless nested routes with Nuxt 3?
- Localization of numbers and dates is not working in Nuxt3 + VueI18n
- Checking authorization when the page is reloaded
- Setting useSeoMeta from Async Data
- Vuefire Nuxt 3 SSR - useCurrentUser null on server-side
- how to get data from markdown file and send it to component using nuxt content
Related Questions in SERVER-SIDE-RENDERING
- Remix App - Error: Minified React error #418 / #423 - on Google Analytics gtag script
- Issue With Angular Hydration
- Why does it not trigger icon rerender on the client side after being rendered on the server side?
- Can Angular minify, compress and remove unused JS and CSS files on build?
- How to pass a Blazor Component Instance to other Component and render it?
- Angular: from renderModule to CommonEngine: A required Injectable was not found in the dependency injection tree
- Cookies not accessible when I fetch in Astro frontmatter
- Is there way to fix below mentioned error in angular 17 (ssr enabled)?
- Angular 17: Module "url" has been externalized for browser compatibility
- Sending parts of react components from django server to be rendered in a react client server
- What are the best practices regarding SSR, Django and temprarly changed data?
- Server Side Rendering of Dynamic URL using NUXT 3
- Intermittent Incorrect SSR Redirects (request and response mismatch in server.ts level)
- How to make Angular SSR wait for async operations to finish that are initiated in ngOnInit?
- Is it possible to make my web app work both server-side only and client-side only?
Related Questions in BUNDLES
- Efficiently Sharing Resources and Components Between Vite Applications
- Is AEM TarMK syncing bundles?
- Integromat / Make.com - How to iterate within N bundles without generating N operations
- Symfony bundle to create wiki pages
- Sdk Frozen Bundles
- Rollup. Chunk that depends from another chunk
- c# Make a ScriptBundle from a source that is not a *.js file
- How Android APP bundles support different minSdkVersion
- WP All Export and WP All Import - Woocommerce product bundles?
- Why are Scripts and Styles not rendering in ASP.Net Webforms (NOT MVC)
- Asp.net Error while trying to create a bundle - Only application relative URLs (~/url) are allowed
- How can I change the address nuxt/webpack is attempting to fetch subsequent chunks from?
- How do I rename bundles generated with ng serve of Angular 13?
- How can we load react native bundles globally
- WoCoommerce: get bundle data items product in custom loop
Related Questions in WEBPACK-CONFIG
- How to add a loader to a specific entry in webpack 5?
- Webpack with React : Error saying i need a loader but babelrc and webpack.config.js are set with appropriate plugins
- Webpack can't seem to load css
- Accessing mode from webpack config
- When running yarn build, the Output file is not getting generated with Webpack 5 and throwing MIME type error in console using ReactJS application
- Plugin/Preset files are not allowed to export objects, only functions, while configuring the webpack
- Uncaught ReferenceError: process is not defined! WEBPACK AND BABEL ERROR
- How do I configure webpack with WasmPackPlugin
- webpack-cli Error: Conflict: Multiple chunks emit assets to the same filename
- production mode build gives different hashed file name for js files
- How to use SCSS absolute import path in a React, Webpack, Typescript Project?
- How to remove duplicated dependencies code from webpack bundle?
- Why are changes not recognized on any config (tsconfig, webpack, babel) when stopping and restarting dev server?
- Showing react app in my HTML Javascript app
- convert webpack config to next config?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular # Hahtags
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
You can configure the address where bundles are being served from with this
nuxt.config.jssetting: https://nuxtjs.org/docs/configuration-glossary/configuration-build/#publicpath. A common use case for this would be serving your bundles through a cdn.