∂Max
∂Max
NNuxt
Created by ∂Max on 1/6/2025 in #❓・help
Trouble bundling module
Alright, I'll try to do that! Thanks
8 replies
NNuxt
Created by ∂Max on 1/6/2025 in #❓・help
Trouble bundling module
I hope someone can help me, I've been struggling for several hours now. I can give access to the source code if needed
8 replies
NNuxt
Created by ∂Max on 1/6/2025 in #❓・help
Trouble bundling module
Transpiling is-buffer didn't seem to have any affect. Aliases would just bypass the issue but give another, similar, one
8 replies
NNuxt
Created by rxsto on 6/6/2024 in #❓・help
Is it possible to get pre-defined data from `components:extend` hook?
Alright np
4 replies
NNuxt
Created by ∂Max on 12/22/2024 in #❓・help
Access a .vue component props inside a module.ts file
@kapa.ai Can you add more details to the custom hook solution?
23 replies
NNuxt
Created by ∂Max on 12/22/2024 in #❓・help
Access a .vue component props inside a module.ts file
@kapa.ai Runtime config is not populated at runtime since the components:extend hook is at build time only.
23 replies
NNuxt
Created by ∂Max on 12/22/2024 in #❓・help
Access a .vue component props inside a module.ts file
@kapa.ai Runtime config is not populated at runtime since the hook is at build time only.
23 replies
NNuxt
Created by ∂Max on 12/22/2024 in #❓・help
Access a .vue component props inside a module.ts file
@kapa.ai I’m extracting the props using vue/compiler-scf. How can I pass the data to my server side plugin? I’m using the components:extend hook to get the components
23 replies
NNuxt
Created by rxsto on 6/6/2024 in #❓・help
Is it possible to get pre-defined data from `components:extend` hook?
Hey 👋 Have you found a solution to this problem?
4 replies
NNuxt
Created by ∂Max on 12/22/2024 in #❓・help
Access a .vue component props inside a module.ts file
Is it not possible? I would have expected to have this kind of data in the server side
23 replies
NNuxt
Created by ∂Max on 12/22/2024 in #❓・help
Access a .vue component props inside a module.ts file
Also, can I export some data from a component and access it in my module.ts?
23 replies
NNuxt
Created by ∂Max on 12/16/2024 in #❓・help
Accessing components list on server side plugin
Looks like there's no way to pass options to transformers https://github.com/nuxt/content/issues/2086
8 replies
NNuxt
Created by ∂Max on 12/16/2024 in #❓・help
Accessing components list on server side plugin
I found out that defineTransformer parse(_id, _content, _options) has an option field. Do you know how to give it options? Using nuxt kit's addPlugin would have allowed me to pass some options but in the docs they say to use
_nuxt.hook('content:context', (contentContext) => {
contentContext.transformers.push(resolve('./runtime/plugin'))
})
_nuxt.hook('content:context', (contentContext) => {
contentContext.transformers.push(resolve('./runtime/plugin'))
})
8 replies
NNuxt
Created by ∂Max on 12/16/2024 in #❓・help
Accessing components list on server side plugin
Thanks! I’ll have a look at it. I believe the most difficult part is passing the data to the server plugin from the module.
8 replies
NNuxt
Created by ∂Max on 12/16/2024 in #❓・help
Accessing components list on server side plugin
I tried multiple things like using useRuntimeConfig or resolveFiles but they cannot be imported in server runtime...
8 replies
NNuxt
Created by abd on 8/6/2024 in #❓・help
How to make a page height = the viewport height
Hey, you can use h-screen
12 replies
NNuxt
Created by ∂Max on 8/6/2024 in #❓・help
Nitro compressPublicAssets not working in docker image
Also, it works builds normally outside of docker
4 replies
NNuxt
Created by ∂Max on 8/6/2024 in #❓・help
Nitro compressPublicAssets not working in docker image
I don't think this is normal at all, should I open an issue somewhere?
4 replies
NNuxt
Created by ∂Max on 8/6/2024 in #❓・help
Nitro compressPublicAssets not working in docker image
Docker logs:
...
#16 69.84 ℹ ✓ built in 54.59s
#16 69.86 ✔ Client built in 54621ms
#16 69.99 ℹ Building server...
#16 70.05 ℹ vite v5.3.5 building SSR bundle for production...
#16 70.18 ℹ transforming...
#16 70.20 ℹ ✓ 1 modules transformed.
#16 70.25 ℹ rendering chunks...
#16 70.27 ℹ .nuxt/dist/server/styles.mjs 0.07 kB
#16 70.27 ℹ .nuxt/dist/server/server.mjs 0.10 kB │ map: 0.22 kB
#16 70.27 ℹ ✓ built in 204ms
#16 70.30 ✔ Server built in 312ms
#16 70.35 [nitro] ℹ Initializing prerenderer
#16 73.21 [nitro] ℹ Prerendering 1 routes
#16 73.94 [nitro] ├─ /api/_content/cache.1722963454382.json (719ms)
#16 73.94 [nitro] ℹ Prerendered 1 routes in 2.9 seconds
#16 DONE 74.4s
...
#16 69.84 ℹ ✓ built in 54.59s
#16 69.86 ✔ Client built in 54621ms
#16 69.99 ℹ Building server...
#16 70.05 ℹ vite v5.3.5 building SSR bundle for production...
#16 70.18 ℹ transforming...
#16 70.20 ℹ ✓ 1 modules transformed.
#16 70.25 ℹ rendering chunks...
#16 70.27 ℹ .nuxt/dist/server/styles.mjs 0.07 kB
#16 70.27 ℹ .nuxt/dist/server/server.mjs 0.10 kB │ map: 0.22 kB
#16 70.27 ℹ ✓ built in 204ms
#16 70.30 ✔ Server built in 312ms
#16 70.35 [nitro] ℹ Initializing prerenderer
#16 73.21 [nitro] ℹ Prerendering 1 routes
#16 73.94 [nitro] ├─ /api/_content/cache.1722963454382.json (719ms)
#16 73.94 [nitro] ℹ Prerendered 1 routes in 2.9 seconds
#16 DONE 74.4s
4 replies
NNuxt
Created by ∂Max on 6/24/2024 in #❓・help
Support of the new URL(..., import.meta.url) syntax?
Thanks! I’ll take a look tomorrow
6 replies