You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi i was wondering if we can use nitro storage layer in analog?
The thing is, i want the users to upload images in my app and store them in /public/images. So far everything worked in the dev server but after building on production, nitro is generating an manifest file and adding image to the directory is not enough.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi i was wondering if we can use nitro storage layer in analog?
The thing is, i want the users to upload images in my app and store them in /public/images. So far everything worked in the dev server but after building on production, nitro is generating an manifest file and adding image to the directory is not enough.
I have installed:
Added configuration to vite.config.ts
but theres still no such thing as useStorage('assets:server')
https://nitro.build/guide/assets#server-assets
https://unstorage.unjs.io/
Beta Was this translation helpful? Give feedback.
All reactions