All Questions
306
questions
0
votes
0
answers
14
views
Performance disadvantages of splitting every component into separate chunks in Nuxt?
So I'm working with Nuxt 2.15 (Vue 2.6). Usually if we have a component that is rendered using v-if (so it is not always needed) we import it like this:
components: {
SideCategory: () => ...
1
vote
0
answers
53
views
How to specify multiple entrypoints in Vite with Nuxt.JS
We're in the process of migrating our code over from a pure webpack/typescript/node model to using Nuxt.JS. Originally, for our backend we have 3 processes (4 including main) that were run ...
0
votes
1
answer
64
views
Nuxt 2 azure package starts breaking on build all of a sudden
I have full fledge application that I have been working on for about 2 years now and it work absolutely fine up until last week. The application uses Nuxt2 and some other vue2 packages. The cloud ...
1
vote
1
answer
133
views
Nuxt 2: PostCSS Error: original.line and original.column are not numbers
One of the developers on my team came to me with an error he encountered while building our Nuxt 2.17.3 project. For me this came as a surprise as I never encountered the problem but after following a ...
0
votes
0
answers
92
views
Vue SSR from scratch - problem with loading server webpack bundle on client
I'm trying to build document generator service and my document templates are written in Vue because of flexibility etc.
The context (feel free to skip this to The question part)
Client writes his ...
0
votes
1
answer
137
views
Classes duplication with css modules and extractCSS in Nuxt 2
I use nuxt 2 with css modules and when i use one css module with multiple components it results in then multiple css files have same class
Hello.vue
<template>
<div :class="$style....
0
votes
1
answer
109
views
NuxtJs dev build breaking after I updated to v2.15
I recently updated my an old nuxtjs project from 1.4.5 to 2.12.0 so i could take advantage of the public and private runtime config. Everything seems to work until it attempts to finish building the ...
1
vote
0
answers
83
views
How to load browser.esm.js modules in Nuxt 2?
I am getting the following errors when trying to import @thirdweb-dev/wallets module in a Nuxt 2 project:
ERROR in ./node_modules/@thirdweb-dev/sdk/dist/marketplace-auction-3488e43b.browser.esm.js
...
0
votes
0
answers
525
views
How to build a Nuxt 3 app using Webpack builder with HtmlWebpackPlugin?
I'm having issues setting up HtmlWebpackPlugin in a Nuxt 3 app using Webpack 5.
I'm getting an error while attempting this with a simple project. However, I was able to produce a successful build in ...
0
votes
0
answers
29
views
nuxt 2 build problems with emitted big
npm run dev works perfect. When use npm run build it causes this problem. Build structure is wrong and when I try to test build by using http-server its approves that build is incorrect. In June build ...
0
votes
0
answers
134
views
nuxt does not ignore folder when doing build
I want to ignore the amplify folder in my app, but it keeps rebuilding.
I have tried inside nuxt.config.js:
extend(config, { isDev, isClient }) {
config.module.rules.push({
exclude: /amplify/,
...
0
votes
0
answers
77
views
Nuxt optimization
I would like to reduce unused code im my Nuxt project. I use unused-webpack-plugin for Vue.js projects. It works gteat. I try to add it into Nuxt. But it does not work. What am I doing wrong? Maybe ...
1
vote
0
answers
304
views
Nuxt 2 module parse failing, unexpected token
I'm trying to use transformers.js in my Nuxt 2 app but it keeps giving me errors. I have tried to add some babel configs in nuxt.config.js but didn't fix it.
Errors that I'm getting.:
ERROR in ./...
1
vote
1
answer
699
views
Nuxt Fatal Error SyntaxError: Invalid or unexpected token
When I install bootstrap-vue-next for Nuxt v2.8.1 project, I use the command from the documentation (https://bootstrap-vue-next.github.io/bootstrap-vue-next/docs.html): yarn add bootstrap bootstrap-...
0
votes
0
answers
111
views
How to upload sourcemaps from NuxtJS to Rollbar
Introduction
Hey, I am trying to upload the sourcemaps generated from webpack to Rollbar.
I am using nuxt-rollbar-module inside the modules key to log the errors:
[
'nuxt-rollbar-module',
{...