Is there a solution to this problem?
How can I refere to json translation files?
(Framework7 with vite)
backend: {
loadPath: '/locales/{{lng}}-{{ns}}.json'
// /locales/en-US-translation.json
}
So this /locales/ folder. I placed it in ./src/ does not work then in ./public/ also does not work.
loadPath …/locales/ does also not work
loadPath ./locales/ does also not work
This vite .js file (including your custom app.js ) gets placed within the ./assets folder.
How can I reference a file OUTSIDE this vite thing from within the ./assets/index.23412342134.js ?