tobi
tobi
NNuxt
Created by Nisthar on 8/30/2024 in #❓・help
Can you use a module's original source code in your app?
4 replies
NNuxt
Created by Antonio Ivanov on 7/28/2024 in #❓・help
Nuxt 3 Charts
looks really nice and clean!
8 replies
NNuxt
Created by FoxForGate on 7/26/2024 in #❓・help
Is it possible to use a custom icon in NuxtUI "<UIcon />"?
I think it's not possible as stated in the docs: You can use any name from the https://icones.js.org collection such as the i- prefix: Why not just creating a simple wrapper component for using your icon?
4 replies
NNuxt
Created by Antonio Ivanov on 7/28/2024 in #❓・help
Nuxt 3 Charts
Mostly using chartjs for free stuff and paid highcharts for company stuff (both of them work great). Tried apex charts years ago, ditched it due to performance issues (I have no clue how it behaves nowadays). Just make sure to wrap your chart components with a <ClientOnly> to get around server/client rendering issues and you should be good to go.
8 replies
NNuxt
Created by Atsu on 7/29/2024 in #❓・help
Share zod schema with client and server
move the schemas into a shared folder, like e.g. "types" or "schemas" etc. in the root folder of the project and you can use them both on client and server from that shared location without any problems 🙂
7 replies
NNuxt
Created by llamaz on 7/17/2024 in #❓・help
Links in Nuxt UI table
yes, you can use the column-data slots available (see https://ui.nuxt.com/components/table#column-data) e.g. something like this:
<script setup lang="ts">
const columns = [{ key: "link", label: "Link", ... }];
[ ... ]
</script>

<template>
<UTable :rows="data" :columns="columns">
<template #link-data="{ row }">
<ULink :to="row.link">Link</ULink>
</template>
</UTable>
</template>
<script setup lang="ts">
const columns = [{ key: "link", label: "Link", ... }];
[ ... ]
</script>

<template>
<UTable :rows="data" :columns="columns">
<template #link-data="{ row }">
<ULink :to="row.link">Link</ULink>
</template>
</UTable>
</template>
2 replies
NNuxt
Created by tobi on 7/8/2024 in #❓・help
Nuxt separate API and app for production
holy cow..this sounds like a nightmare
14 replies
NNuxt
Created by tobi on 7/8/2024 in #❓・help
Nuxt separate API and app for production
yeah, that's true - would reconsider using nx for this task instead of workspaces if the app gets bigger as I am using it already in multiple angular enterprise apps successfully. 15 minute build time? how? 😄 I never reached that stadium; the biggest angular app I am working in (development started 8 years ago, thousands of components, endless domains, subroutes, etc), takes a rough 120 seconds build time (yeah with webpack that was on an all time high of 7 minutes, but in times of esbuild or vite I have never seen such a high build time)
14 replies
NNuxt
Created by tobi on 7/8/2024 in #❓・help
Nuxt separate API and app for production
I am getting your point, but for the sake of this to create workspaces and two separate packages is a bit of an overkill imho. I think I will go with a simple custom build step script. But thanks for the insights, will keep that in mind!
14 replies
NNuxt
Created by tobi on 7/8/2024 in #❓・help
Nuxt separate API and app for production
I think I will try to create two build steps - one for spa and one for server, and both of them will move the dist files into a separate folder. This would already satisfy all my needs.
14 replies
NNuxt
Created by tobi on 7/8/2024 in #❓・help
Nuxt separate API and app for production
I came across this solution as well, thanks! My concern with this solution is, that I need to generate the api, publish it, generate the client and publish the tauri release, as each command uses the same output directory and overwrites the previous build files... this would totally fit my needs if I can specify 2 different output directories, one for each specific build
14 replies
DTDrizzle Team
Created by deezdawg on 6/3/2024 in #help
Updated to the latest and I get this error
see here: https://orm.drizzle.team/kit-docs/upgrade-21 😉 and the error message is literally saying it all, you need to add dialect: "sqlite", // "postgresql" | "mysql" to your drizzle config
2 replies
NNuxt
Created by Mads on 5/7/2024 in #❓・help
Any way to trigger a Nitro Task from an endpoint?
2 replies
NNuxt
Created by tobi on 4/23/2024 in #❓・help
How to cancel a server fetch call to a remote endpoint?
No description
2 replies