Questions tagged [Nuxt.js] (1)

0
answer

Why might it be inaccessible website after installation Nuxt.js?

Hello. Tell me, please, why not open the website after installing all components and ready-made template at the server: 95.214.9.217:3000 Error: ERR_CONNECTION_TIMED_OUT
Stephanie.Howe asked April 19th 20 at 12:44
1
answer

Create-nuxt-app error on Ubuntu 16.04?

After running create-nuxt-app starts a dialogue, it's all good, however, while downloading packages issues it /usr/lib/node_modules/create-nuxt-app/node_modules/sao/lib/installPackages.js:108 throw new SAOError(`Failed to install ${packageName} in ${cwd}`) ^ SAOError: Failed to install packages in /home/www/test at Chil...
graciela.Spencer42 asked April 19th 20 at 12:37
1
answer

NUXT, in serverMiddleware right to transmit data in asyncData?

Found one way - using crutches - to attach data to req. In serverMiddlewhare do so: export default async function (req, res, next) { req.que1 = 'qqq' next() } ... Then take this: asyncData, async ({ req }) { if (process.server) { req.que1 ...} } As for a human to do? Vuex not used. To take the data going to your API ajac...
summer7 asked April 18th 20 at 13:09
1
answer

How to use block editor EditorJS in NuxtJS?

Try to use block editor EditorJS in NuxtJS On the Medium there is an article how to use EditorJs in Vue It works, but when reload the page I catch the error "window not defined" The reason is that the code runs on the server side, and there is no "window" Replaced the require and import to work import EditorJS from ...
Tatyana.Bradtke asked April 18th 20 at 13:04
1
answer

In NUXT on the server to take the data directly from the database (as opposed to a request to another endpoint)?

Just started to learn NUXT and SSR in General. The primary server on the express, generating the vue prilozhu use as an api, giving json. Want at generation vue prilagodi immediately take data from postgres. I understand this is done in the method asyncData (https://nuxtjs.org/guide/async-data) But all the examples of how ...
Celestino asked April 18th 20 at 13:03
0
answer

Where ISPManager stores the host configuration?

Not working proxy of localhost:3000 (there spinning nuxtjs) all requests except for /api and /storage have to go to localhost:3000 Here is my nginx configuration. server { server_name bonus.ru; charset off; index index.php index.html; "disable_symlinks" if_not_owner from=$root_path; include /etc/nginx/vhosts-includes/...
sydney asked April 18th 20 at 12:36
2
answers

How to divide different parts of the application?

Hi! There's an app for nuxt and laravel on the Beck. Everything should be on the same server. In addition there must be separation on the user part and admin panel. Accordingly, it is nuxt two applications, each with its own code. The question is how to deploy. That is in fact necessary to run two nuxt service on a single ...
madilyn.Spencer asked April 18th 20 at 12:36
0
answer

How to track page load time in Nuxt.js after switching on the router?

Hook router.afterEach is not really suitable, as it is triggered in the moment of transition in the rout, but the new page hasn't loaded fully, and I can't work with the updated DOM. Is there any hook which is triggered after a new page is fully loaded?
Emile.Bo asked April 18th 20 at 12:19
1
answer

How to alter the feedback form with the POST method, under nuxt.js?

Hello, dear advisers. There is a feedback form with the POST method, which works fine in pure html. Can you please tell how to integrate in a project called nuxt.js? HTML code: <div id="first-popup" class="mfp-hide white-popup"><br> <div class="block-form-content"> <div class="projects-in-form"> ...
Abdullah asked April 16th 20 at 10:59
0
answer

How to integrate tabler.io in nuxt.js?

Friends, frontest help. There is a library tabler.io. How to use it in nuxt.js? CSS seems clear that all styles are added to the Directive in the css file nuxt.config.js Js was harder to understand how to add scripts to make them work. What algorithm of actions? git clone https://github.com/tabler/tabler.git npm instal...
Miller.Jer asked April 16th 20 at 10:55