Comments (8)
@bobby169
I see that you are using pnpm without including a .npmrc
file.
You should add a .npmrc
file to the root directory with the following content ↓
shamefully-hoist=true
auto-install-peers=true
Finally, run pnpm install
again.
from nuxt.
@avxkim Please provide the reproducible repository, I'm more than willing to help you take a look.
from nuxt.
I found that ant-design-vue-nuxt would get stuck in the case of layer, so I eliminated the layer
This is a separate issue, please file a new issue in ant-design-vue-nuxt/issues
from nuxt.
@bobby169 I see that you are using pnpm without including a
.npmrc
file. You should add a.npmrc
file to the root directory with the following content ↓shamefully-hoist=true auto-install-peers=trueFinally, run
pnpm install
again.
Thank you very much, solved my problem
from nuxt.
@markthree i've added this to my .npmrc
and re-run pnpm install
, still getting this error related to a dayjs, what else it might be?
from nuxt.
ui-kit.zip
uploaded my app without node_modules
from nuxt.
@markthree i've started from scratch on a clean nuxt installation (without layers) and found out that we also need:
"devDependencies": {
"@ant-design-vue/nuxt": "^1.4.1",
"ant-design-vue": "^4.1.2"
}
in nuxt.config.ts
// https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({
devtools: { enabled: true },
modules: ["@ant-design-vue/nuxt"],
antd: {
extractStyle: true,
},
css: ["ant-design-vue/dist/reset.css"],
vite: {
resolve: {
alias: {
"ant-design-vue/dist": "ant-design-vue/dist",
"ant-design-vue/es": "ant-design-vue/es",
"ant-design-vue/lib": "ant-design-vue/es",
"ant-design-vue": "ant-design-vue/es",
},
},
},
});
from nuxt.
Yes, I think it's a problem with ant-design-vue-nuxt/issues
from nuxt.
Related Issues (20)
- Incorrect types in `getCachedData` when passing a `Data` type to `useFetch` HOT 2
- Cannot restart nuxt: Cannot find module 'vue-tsc/out/index' HOT 3
- SSR issue after AWS deployment
- Add a possibility of setting up added dynamic route middleware so that it would be executed before any global middleware from /middleware dir
- Double fetching when using dynamic components with resolveComponent and Suspense HOT 2
- `useRequestURL()` doesn't provide the correct hostname in when `swr` is enabled (route rules) HOT 4
- Distinct more between client website, client server (ssr) and api (H3) HOT 12
- `assertDefined` utility
- Running normally, publishing will prompt an error of 500 HOT 3
- [nuxt] error caught during app initialization TypeError: document$1.getElementsByTagName is not a function HOT 4
- Why is there an error in automatic updates? HOT 2
- Event path and status code are wrong in Nitro hooks HOT 5
- interface AppConfig does not take types when using `extends` HOT 2
- Router route matcher caching HOT 1
- Docs For Chinese: there is no response when clicking search on any page HOT 1
- The keepalive attribute of NuxtPage cannot be used normally under the NuxtLayout package? HOT 2
- [question] cookie update on ssr error HOT 2
- 首屏渲染报错(刷新浏览器首屏渲染报错) First screen rendering error (refresh browser first screen rendering error)
- 首屏渲染报错(刷新浏览器首屏渲染报错) First screen rendering error (refresh browser first screen rendering error) HOT 4
- Scroll behavior not working when layout is changed HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nuxt.