Kealanau
Prevent a package from being treeshaken/ deleted from final build on production
Not entirely sure, but i do know with some packages you need to wrap it up in the nuxt build as a list of transpiled packages in your nuxt config.
In say the case you want to use https://github.com/zxing/zxing with, you'd want to do in the nuxt.config.ts.
So you may need to do
21 replies
Manipulate Row Values in a Nuxt UI's UTable
So to represent the date in that format, you'd want something like the below
You can either apply it to the column of your dataset, or apply it on that data by expanding out the template
https://ui.nuxt.com/components/table#column-data
Also in future, just copy the code and provide a bit more context, as it means i could just run it locally and ensure it's working 100% instead of inferring.
11 replies
Ui Nuxt UCarousel passing in a value to start it on
I've build a stackblitz - https://stackblitz.com/edit/nuxt-starter-bzph5p?file=pages%2Findex.vue
3 replies
how to use router in a pinia store in Nuxt 3?
https://pinia.vuejs.org/core-concepts/plugins.html#Nuxt-js
https://pinia.vuejs.org/core-concepts/plugins.html#Introduction
Reading through this, it seems like you'd be needing to set like
10 replies