Skip to content

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

@SumNeuron

Description

@SumNeuron

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...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions