We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
由于我需要引用unocss 然后按照他们的建议我将vite.config.ts改成vite.config.mts 代码为
import { defineConfig } from "vite"; import uni from "@dcloudio/vite-plugin-uni"; // https://vitejs.dev/config/ export default defineConfig({ plugins: [uni()], });
执行时会报 uni is not a function 请教一下该怎么解决?
The text was updated successfully, but these errors were encountered:
参考 #4815 (comment)
Sorry, something went wrong.
似乎cjs也有问题,h5可以,app运行不起来
评论区中已有可用的解决方案,关闭本issue。 如还有问题,可 reopen issue 继续讨论。
No branches or pull requests
由于我需要引用unocss
然后按照他们的建议我将vite.config.ts改成vite.config.mts
代码为
执行时会报
uni is not a function
请教一下该怎么解决?
The text was updated successfully, but these errors were encountered: