All Questions
108
questions
0
votes
1
answer
8
views
Nuxt 3 HMR Module not reloading changes
I have nuxt 3 project and installed couple of packages .
the hmr was working fine .. it just stopped suddenly no clue why .
there's no errors in the console . the cmd shows the files are being updated ...
0
votes
0
answers
26
views
How do I load CSS from node_modules dynamically in Nuxt 3?
I am trying it like this:
loadFont(font: Font) {
if (state.fontsToLoad.includes(font)) return
switch (font) {
case "poppins": {
import("@fontsource/...
0
votes
0
answers
35
views
Set chunk sizes in Nuxt3
How to set chunk sizes in Nuxt3?
I have tried to set minSize and maxSize in the 'build' property of the config file but it had no effect at all to the built chunks:
build: {
publicPath: '/...
1
vote
0
answers
20
views
Vue3/Nuxt3 Dynamic component injection not working after build
I am having a many modal popup in my web app. so in my layout i am injecting the modal components as below.
in template
<component :is="CustomModalComponent" v-if="isOpen">&...
0
votes
0
answers
26
views
Why vite is sending duplicate javascript files to client?
In the nuxt-bridge project, i have just installed and enabled vite. After i run build command, and run the server, i see duplicate javascript files on browser network tab. One is added with link tag ...
1
vote
0
answers
37
views
Sentry behavior inside a webcomponent bundle
I have a host application (ie. https://host.io) that declares a webcomponent bundle inside its HTML, that is being hosted by a microfrontend (ie. https://microfrontend.io/base/url/microfrontend-1.umd....
0
votes
0
answers
164
views
WebSocket: The URL 'wss://localhost:undefined/_nuxt/' is invalid
I made changes to the NGINX config and made changes to nuxt.config.ts
My application is running at /backoffice
nginx.conf
map $http_upgrade $connection_upgrade {
default upgrade;
'' close;
}
...
0
votes
0
answers
92
views
How to Implement Subresource Integrity (SRI) in Script and Link Tags in Nuxt.js for Enhanced Security?
I'm attempting to add the integrity attribute to the script and link tags at build time by using the build:manifest hook in a custom module. However, the integrity attribute is not being added after ...
0
votes
0
answers
42
views
Nuxt3 chunks missing 404 on Google App Engine deploy
I have an issue deploying a Nuxt3 SSR app on Google App Engine via Github Actions.
Locally, everything builds and runs as expected, both in dev mode with nuxt dev or building and serving with nuxt ...
2
votes
1
answer
452
views
Nuxt3 build .output folder remains empty, nothing copied from .nuxt
I'm encountering a rather strange issue (that occurs after a major refactoring of a web application Vue2+Nuxt2 ===> Vue3+Nuxt3, even though I'm not sure if this is directly related).
The problem: ...
0
votes
1
answer
45
views
How to prevent NuxtJS from combining all CSS files
I'm building a website in NuxtJS and I have two pages, the index.vue and a blog.vue, each with their own external CSS file in the assets directory under the same name as the vue file (index.css and ...
0
votes
0
answers
35
views
How do I create tenant specific locale overrides for @nuxt-i18n locale files in Nuxt 3 project?
I have a Nuxt 3 project that's using @nuxtjs/i18n (v8.2.0) and I'm trying to create an override system that allows tenants to override the existing locale strings in the application by merging the ...
0
votes
0
answers
104
views
Components library built with Vite works with Vue but not with Nuxt
I have a components library built with Vite and it works perfectly in Vue 3 projects, but it simply does not work in Nuxt 3 projects and it shows the following error. I am doing something wrong?
[...
1
vote
1
answer
176
views
Nuxt fresh install contains warning of dependency on Vite
I am installing a fresh Nuxt 3.9.3 app and I am getting the following warnings. My devtools are not working. I am on MacOS.
Projects % npx nuxi init nuxt-3
✔ Which package manager would you like to ...
0
votes
1
answer
54
views
How to change the link and href attributes of the link tag dynamically after changing the language in the nuxt 3 application
How to change page metadate when changing language.
On stackoverflow
How to dynamic dir and locale in HtmlAttr in Nuxt3?
There is a method that changes the lang and dir attributes of an html tag.
...