Open pruge opened 2 years ago
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.
This library adds variables used in pug at build time. webpack-preprocessor-pug-tsx
or
This extension adds variables used in pug when saving. pug-tsx
To use pug in typescript, you need to take the following syntax every time.
To solve this problem, I made the following two.
or