vue-monorepo-boilerplate
vue-monorepo-boilerplate copied to clipboard
i118n - how to deal with it across multiple projects
In the majority of projects i've seen translations are handled from a single .json, yml file etc etc, how would you handle a global messages / translations object in a project like this?
From the top of my head, I would place localization file into the common package - this way it can be used across all modules - frontend, backend ...
Suppose that would work, one more quick question if you don't mind, why don't you precompile each fe package e.g. each package is a vue cli app and your main app imports the dist of that app?