1
0
mirror of https://github.com/chinchang/web-maker.git synced 2025-04-22 11:44:28 +02:00

add devdocs

This commit is contained in:
Kushagra Gour 2019-03-04 16:50:26 +05:30
parent 50e9f65b73
commit 56167101ce

12
devdocs/i18n.md Normal file
View File

@ -0,0 +1,12 @@
# i18n
This needs to be added to `.babelrc` before lingui commands can be run. Otherwise lingui doesn't get the right babel presets and `macros` plugin to extract strings.
```
"presets": ["preact-cli/babel"],
"plugins": ["macros"],
```
## Why not add it permanently?
Because then app breaks!