D
D
devilsD2018-12-12 23:05:31
JavaScript
devilsD, 2018-12-12 23:05:31

How to request data from the server for webpack config before build?

In the webpack config for nuxt.js, you need to request a list of locales via api:
locales: ['ru', 'en'].
I tried to make a request in Compiler Hooks but to no avail.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question