menu

Recent questions tagged nuxtjs

1 vote
1 answer
image
Why does instanceOf Object on the server and client give different results? I ran into this problem, in the server rendering value instanceof Object is false, but in the browser is true. What could be causing this? The data is exactly the same ...
by ivan0512
asked Sep 24, 2021
2 votes
1 answer
image
Laravel + Nuxt + Nginx: WebSocket is closed before the connection is established? General scheme and project configuration files The project consists of two parts: Server part - Laravel (api) Client part - NuxtJs (client) A minimal configuration ...
by tol64
asked Sep 19, 2021
1 vote
1 answer
How do I make a module/package for a VUE.js application? There is a certain piece of application (authorization+registration) which includes Entire Pages, Components, State, Customized API and server requests. This chunk can b ...
by grabbee
asked Sep 18, 2021
1 vote
1 answer
How to make settings in plugin 'vue-smooth-scroll' nuxt.js? Installed the plugin ' vue-smooth-scroll ' into your project. I installed the plugin as written in docs (Vue Plugins, ES6 plugins ) I created a file in the plugin ...
by jun_dev
asked Sep 17, 2021
1 vote
1 answer
image
How do I solve the nuxt generate ( Nuxt.js ) launch problems? We need to build code for production. Running the command: yarn build yarn generate When you run yarn generate, it gives an error Can you tell me what can cause suc ...
by jun_dev
asked Sep 16, 2021
1 vote
1 answer
Is it possible to make a dynamic folder with pages in nuxt? For example, there are routes like poststravel1, postsfood3 and so on. How to create a dynamic folder with a category inside the posts folder ? ...
by RazerVG
asked Apr 4, 2021
1 vote
1 answer
image
Why does the error unknown action type appear? Application on Nuxt Using axios and vuex I'm trying to make a url request, but I get an error vuex file news.jsimport { NuxtAxiosInstance as $axios } from '@nuxtjs/axio ...
by postya
asked Apr 2, 2021
1 vote
1 answer
How to implement dynamic tabs in nuxt using routing? Hi all, started to learn nuxt js, decided to create a test online store on it. I have a certain product page that has tabs on it. These tabs should work in conjunction ...
by mops2
asked Apr 1, 2021
4 votes
2 answers
How do I upload Nuxt.js Universal SSR application to Beget hosting? Installed node.js on Beget hosting, checked, everything works! I have my mini app on Nuxt, I run the nuxt build command, it builds me all the files. Question: should all ...
by picka
asked Mar 30, 2021
1 vote
1 answer
image
How do I get the current roll in nuxt? There is an h1 tag in which you want to display the current root. How do I get this root? What I have at the moment: Component in which you want to display the curre ...
by postya
asked Mar 30, 2021
1 vote
1 answer
How to overcome the problem with two slashes in nuxt? When you enter two slashes at the end of the address from the application's home page, the application crashes with an error 0cca51367962921da9c7.js:2 Uncaught (in prom ...
by kvsazykin
asked Mar 29, 2021
1 vote
1 answer
How do I wrap some dynamic content in a tag at SSR? Task: wrap the time (format - 28.09.2020 12:18) in span Trying this <template>... <p class="lf-news-item__date">{{ addTimeSpan(item.date) }}</p>...&l ...
by RazerVG
asked Mar 29, 2021
1 vote
2 answers
How do I track the PHPSESSID value (Vue, axios)? Hello! I came across the following problem. In my application, PHPSESSID value changes after some time, and because of this the user gets kicked out of the system. How c ...
by F-l-e-m
asked Mar 29, 2021
1 vote
1 answer
LocalStorage is not defined, what should I do? module vuex: export const state = () => ({ userWebToken: localStorage.getItem("userWebToken"), adminWebToken: localStorage.getItem("adminWebToken")}); ...
by Hanry654
asked Mar 29, 2021
1 vote
1 answer
What is Nuxt.js useful for besides SSR? Do you use it in your projects without SSR in spa mode? ...
by ewb
asked Mar 26, 2021
1 vote
1 answer
How do I set up the auth module in nuxt.js, to automatically update an expired token? Hi all, I use auth module for nuxt.js. I can't figure out how to make an automatic request for endpoints ? refresh: { url: 'apiauthrefresh', method: 'post' } There is a ...
by Egor1324
asked Mar 26, 2021
1 vote
1 answer
Why is there a problem with ref, when importing into components? I'm importing a component: ... components: { MainSection: () => import('@/components/pages/sections/MainSection'),... Inside it, when referring to ref in mou ...
by RazerVG
asked Mar 25, 2021
2 votes
1 answer
Why don't the latest versions of nuxt js offer a server selection? Hi all, can anyone tell me why the latest version of nuxt.js when creating a project via create nuxt-arrne offers to select the framework for the server ? And what if in ...
by Egor1324
asked Mar 24, 2021
1 vote
1 answer
How do I make night mode in Nuxt? The task is to make a night mode in Nuxt without using libraries. At first I decided to use props , but when it came to the component<Nuxt /> I did not understand ...
by arctic07
asked Mar 24, 2021
2 votes
1 answer
How do I run Nuxt in ssr mode on my vps? I need an application written in nuxt to work in ssr mode. locally everything works fine. And on the server only static pages. After a lot of googling it became clear t ...
by PavelUstyugov
asked Mar 22, 2021