You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jul 4, 2021. It is now read-only.
Since vue-i18n@v9.0, The locale messages are handled with message compiler, which converts them to javascript functions after compiling. After compiling, message compiler converts them into javascript functions, which can improve the performance of the application.
27
+
28
+
However, with the message compiler, the javascript function conversion will not work in some environments (e.g. CSP). For this reason, vue-i18n@v9.0 and later offer a full version that includes compiler and runtime, and a runtime only version.
29
+
30
+
If you are using the runtime version, you will need to compile before importing locale messages by managing them in a file such as `.json`.
31
+
32
+
#### Vite Config
33
+
34
+
the below example that `examples/composition/vite.config.ts`:
0 commit comments