art-template
art-template copied to clipboard
请问能在NodeJs+TypeScript中用吗
请问能在NodeJs+TypeScript中用吗,一直报警告且无法使用 WARNING in ./node_modules/art-template/index.js 5:0-18 require.extensions is not supported by webpack. Use a loader instead.
使用Import的话 会报这个 TS2307: Cannot find module 'art-template' or its corresponding type declarations.
我的引入方式 import * as artTemplate from "art-template"