Skip to content

Support tsx #149

@pruge

Description

@pruge

To use pug in typescript, you need to take the following syntax every time.

import x; x

To solve this problem, I made the following two.

  1. webpack plugin

This library adds variables used in pug at build time.
webpack-preprocessor-pug-tsx

or

  1. vscode extension

This extension adds variables used in pug when saving.
pug-tsx

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