Issue with gatsby and importing the bulma-collapsible
kalwalt opened this issue · comments
Walter Perdan commented
Hi i'm trying your nice library with the Gatsby framework that is based on React. Following your docs i had some problems while importing into the framework.
While importing the Sass lib i had to declare in this way:
@import "~@creativebulma/bulma-collapsible/src/sass/index.sass"
for the avascript lib instead:
import bulmaCollapsible from '@creativebulma/bulma-collapsible'
I want to report also some typo errors in your doc about this last:
- import bulmaCollapsible from '~bulma-collpasible';
+ import bulmaCollapsible from '~bulma-collapsible';
Thank you for your attention,
Walter
CreativeBulma commented
Hi @kalwalt,
thanks for the notice. I'll update the documentation