Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

请问能在NodeJs+TypeScript中用吗 #623

Open
lindenrty2 opened this issue Aug 13, 2020 · 2 comments
Open

请问能在NodeJs+TypeScript中用吗 #623

lindenrty2 opened this issue Aug 13, 2020 · 2 comments

Comments

@lindenrty2
Copy link

请问能在NodeJs+TypeScript中用吗,一直报警告且无法使用
WARNING in ./node_modules/art-template/index.js 5:0-18
require.extensions is not supported by webpack. Use a loader instead.

@lindenrty2
Copy link
Author

使用Import的话 会报这个
TS2307: Cannot find module 'art-template' or its corresponding type declarations.

@houkunlin
Copy link

我的引入方式 import * as artTemplate from "art-template"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants