I built this yesterday: A VueJS component that let...
# our-work
a
I built this yesterday: A VueJS component that lets any article embed flashcards so that readers can ALSO remember the material using spaced-repetition algorithm - using localStorage (not servers): https://github.com/learn-awesome/flashcard
🙌 2
r
Haha! Funny, i wrote something similar yesterday (divu.in/german/words) not generic like your component though
a
Nice! If it's open-source, we should merge these two and build something with high quality and reusability.
I need to figure out how to pass multiple <flash-card> to the <practice-set> element in pure HTML. Should be possible with Vue slots.
r
It is open source but 1. it is react https://github.com/divyenduz/ds-blog/blob/master/pages/german/words/index.tsx 2. Tied to my blog very specifically, I do need to add generic space repetition pattern though
a
vue build --target wc
generates a webcomponent and can even include inline Vue so a single
<script>
tag is all you need to use it.
r
vue build --target wc
generates a webcomponent and can even include inline Vue so a single
<script>
tag is all you need to use it.
I have 0 idea what this line means 😄 sorry 😄
a
😄