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
感谢作者开发这款工具,我在nuxt3平台下使用时,遇到如下错误:
The symbol "createError" has already been declared
这是nuxt.config.ts文件内容:
nuxt.config.ts
// https://nuxt.com/docs/api/configuration/nuxt-config import { vitePlugin as utwm } from 'unplugin-tailwindcss-mangle' export default defineNuxtConfig({ runtimeConfig: { public: { baseURL: process.env.BASE_URL || "http://127.0.0.1:19800/api", }, }, devtools: { enabled: true }, pages: true, modules: [ "@nuxtjs/tailwindcss", "nuxt-headlessui", "@nuxtjs/color-mode", "floating-vue/nuxt", "@pinia/nuxt", "@pinia-plugin-persistedstate/nuxt", ], app: { head: { link: [{ rel: "stylesheet", href: "/HarmonyOS/font.css" }], }, }, vite: { plugins: [utwm()], }, });
这有可能是什么原因导致的?
The text was updated successfully, but these errors were encountered:
目前 spa 运转还算良好,ssr 框架,想那些 nextjs 还要你用的 nuxtjs3 啥的,因为他们是打多个包的(server/client) 等等,目前混淆 server 端包的时候有各种奇怪的问题,比如你遇到的这个。
nextjs
nuxtjs3
server
头疼,没找到好的解决方案。
Sorry, something went wrong.
Hi, [email protected] is release, This version has fixed this issue. Have a try! :)
[email protected]
No branches or pull requests
感谢作者开发这款工具,我在nuxt3平台下使用时,遇到如下错误:
The symbol "createError" has already been declared
这是
nuxt.config.ts
文件内容:这有可能是什么原因导致的?
The text was updated successfully, but these errors were encountered: