Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inclusion of the template tag doesn't seem to work with Vue #110

Open
SumNeuron opened this issue Nov 25, 2019 · 0 comments
Open

Inclusion of the template tag doesn't seem to work with Vue #110

SumNeuron opened this issue Nov 25, 2019 · 0 comments

Comments

@SumNeuron
Copy link

Wanted to try a nuxt / vue spa with distill components. Doesn't seem to work so great... vue complains about not knowing about the distill components, and the even if the script is included, the parsing doesn't seem to happen as intended (e.g. if taking the example and copy-pasting it)

So I started to try and boot the components to vue https://gitlab.com/SumNeuron/vdistill but there is a bit I do not understand about the markup / expect functions (e.g. why TOC only goes one nesting deep based on H3 tag), but the main issue is that styling doesn't seem to get inherited / work directly. I noticed that from inspecting articles on the site vs the styles available under the style directory here that some of the classes are different, e.g. d-toc has the class "l-text toc figcaption" in an article but "table-of-contents" in the component...

This image

shows current progress of the port...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant