-
Notifications
You must be signed in to change notification settings - Fork 86
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to use Nitro features like Cache API, Storage Layer, or Auto Imports? #131
Comments
Nitro IS used under the hood, but not completely exposed. You can configure most nitro options through import { createApp } from "vinxi";
export default createApp({
server: {
https: true
}
}); As per the individual APIs you have listed, each has its own reason for not being included in the API currently.
What other features of nitro would you like me to give you an idea bout its availability. |
Is it possible to register a nitro plugin? |
yup.. nitro plugins can be added as they are in nitro thru the server config in vinxi |
I am assuming you are supposed to get |
Ohh damn yeah I forgot I had not implemented it in dev yet. Lemme fix that and push today. |
I've added auto import to server and client, it's as easy as adding Update; for an individual api handler, just using unimport works fine. Seems not that easy with |
are you able to add plugins to |
Doesn't seems to work. Is it because plugins are executed on |
Haven't fixed the plugins in dev yet. Will do that soon. Couldn't get enough time the last few days |
No please for the love of God do not include auto-imports, it's the biggest piece of crap I have ever seen in my life, and it would ruin this beatiful project. |
Was trying to use nitro-plugins with vinxi. I guess they are not yet supported in dev-mode. Do you think this will be a lot of work? Is there a way I could help? |
Is it possible to import from |
Is it even possible?
Sorry, but it's not clear to me from the docs or source code whether Nitro is used under the hood or not.
Nitro offers some really cool built-in features like:
Could anyone provide an example of using any Nitro feature?
It would be really helpful, or should I reimplement them myself?
The text was updated successfully, but these errors were encountered: