GrapesJS / grapesjs

Free and Open source Web Builder Framework. Next generation tool for building templates without coding
https://grapesjs.com
BSD 3-Clause "New" or "Revised" License
22.38k stars 4.06k forks source link

[Bug] Can not import any locale file from grapesjs/locale/ #2721

Closed alex1989 closed 4 years ago

alex1989 commented 4 years ago

Hi I run into an error when I'm trying to import any locale file from 'grapejs/locale' by using es6 import

I followed by the documentation:

https://grapesjs.com/docs/modules/I18n.html#configuration

but I always get this: image

I can import it only in next way image

Could you explain why I can't import it directly from grapesjs/locale/.

grapejs was installed by npm install

grapejs is latest version (0.16.3)

artf commented 4 years ago

Should be fixed in https://github.com/artf/grapesjs/releases/tag/v0.16.12

willGabrielPereira commented 1 year ago

It still don't works, only works from "src/i18n/locale/...." Using v0.20.3

image

image

artf commented 1 year ago

@willGabrielPereira can you try with https://github.com/GrapesJS/grapesjs/releases/tag/v0.20.4