Skip to content

Examples #2

@Mevrael

Description

@Mevrael

Hi, could you provide some real examples. As I understand I can do something like

import htmlTemplate from './template.html';

document.body.innerHTML = htmlTemplate;

Can you use some kind of variables in template? If it returns an ES6 template string, then you could be able to call htmlTemplate(data);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions