quasar + i18n + production mode = TypeError: s is not a function #14057
Unanswered
shasoft
asked this question in
General - Components / Directives / etc
Replies: 1 comment
-
The error exists only when building through Vite function compileMessageFormat(context, key, targetLocale, format, cacheBaseKey, errorDetector) {
console.log('e', context);
const { messageCompiler, warnHtmlMessage } = context;
if (isMessageFunction(format)) {
const msg = format;
msg.locale = msg.locale || targetLocale;
msg.key = msg.key || key;
return msg;
} |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I run
npm init quasar
Build mode............. spa
Pkg quasar............. v2.7.5
Pkg @quasar/app-vite... v1.0.5
Pkg vite............... v2.9.14
Debugging.............. no
Publishing............. no
Browser target......... es2019|edge88|firefox78|chrome87|safari13.1
change src/MainLayout.vue
npx quasar dev
- Oknpx quasar build
- ErrorBeta Was this translation helpful? Give feedback.
All reactions