npm run init
COMPILE TO...
DEVELOPMENT
npm run dev
PRODUCTION
npm run pro
RUN SERVER
npm run live
(listening :3000)
OBSERVATIONS
IN DEVELOPMENT
- everything works.
IN PRODUCTION
- with
i18next
included inexternals
inwebpack.config.js
, everything works. - without
i18next
included inexternals
and configured withreact: {wait: true}
insrc/i18n/i18n.ts
, the components are not loaded. - without
i18next
included inexternals
and configured withreact: {wait: false}
insrc/i18n/i18n.ts
, the components are loaded but when the language is changed, the texts are not translated.