-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
import prismjsPlugin from "vite-plugin-prismjs";I will report an error when importing vite in this way
prismjsPlugin is not a function
import { prismjsPlugin } from "vite-plugin-prismjs";I only need to import in this way to function properly. It seems that both import methods are supported in the declaration file
我通过第一种导入方式报错 prismjsPlugin不是一个函数 只有通过第二种方式才是正常的,我看声明文件中似乎都是支持的
pl1998
Metadata
Metadata
Assignees
Labels
No labels