- 🇧🇾Belarus spleshka UAE
Hey, I'm sorry it's taking so long to update the documentation. It's still on our TODO list.
- 🇻🇪Venezuela ledjerdemain
@Spleshka I get, these things take time. But I am very much looking forward to it.
@Spleshka hi, i am trying to override one of the anu lms react component in my custom module react, but everytime i try to import using following code:
import ParagraphsWithQuiz from '@anu/components/ParagraphsWithQuiz.js';
i get the following error, when i run npm run build:
Module not found: Error: Can't resolve '@anu/components/ParagraphsWithQuiz.js'
i see in the readme file you have written TODO. Untill you update the documentation, can you give me a quick idea here on how to get it done so that i can continue with my work, thanks
- @spleshka opened merge request.
- 🇧🇾Belarus spleshka UAE
I've created a MR with an example of how to override the existing component (addressing #8). An example of how to add a new custom paragraph is yet to be added to the same MR.
- 🇧🇾Belarus spleshka UAE
Hi @ledjerdemain, we've finally had some time to add an example of how to add a custom paragraph type to Anu LMS: https://git.drupalcode.org/issue/anu_lms-3331125/-/tree/3331125-cant-add.... Hopefully you'll find it helpful :-)
-
Spleshka →
committed da349873 on 2.x
Issue #3331125: Can't add content of custom paragraph types to lessons
-
Spleshka →
committed da349873 on 2.x
- Status changed to Fixed
almost 2 years ago 7:16am 20 February 2023 - 🇧🇾Belarus spleshka UAE
Merged examples into the main branch. Added documentation to https://www.drupal.org/docs/contributed-modules/anu-lms/customising-anu-lms → . Happy to mark the issue as fixed!