dmarr
Localhost:4000/ws WebSocket Connection Error
I had some luck playing around with this https://github.com/vi/websocat basically you can connect to it from your browser or your backend, and maybe have an easier time troubleshooting
3 replies
Is there an idiomatic way to disable a module?
Thanks Mole, I was curious about the hooks that are declared with the object syntax (alongside the setup function). It seems those would always run as the config isn’t available from what I can tell.
7 replies
mocking useI18n with nuxt i18n module
Also on the docs for mockNuxtImport: https://nuxt.com/docs/getting-started/testing#mocknuxtimport
The suggestion:
if i wanted to pu those parts in the vitest global setup, how would I get access to useStorageMock?
6 replies
Can tailwind prefix be set on a per-layer basis?
@kapa.ai when I try to run my app, I get the following error:
[11:15:34 AM] ERROR Pre-transform error: [postcss] /app/node_modules/nuxt--app/src/assets/css/tailwind.css:1:1: The tw-border-border class does not exist. If tw-border-border is a custom class, make sure it is defined within a @layer directive.
Plugin: vite:css
File: /app/node_modules/nuxt-layer/src/assets/css/tailwind.css:1:0
1 | @tailwind base;
| ^
2 | @tailwind components;
3 | @tailwind utilities;
6 replies