@rasenganjs/vercel
v1.1.0
Published
Vercel adapter to serve Rasengan apps on Vercel
Downloads
670
Readme
Rasengan Vercel
The @rasenganjs/vercel package is an adapter that configures Rasengan.js applications for deployment on the Vercel platform. It ensures that the project is properly structured and optimized for Vercel's serverless environment.
Installation
npm install @rasenganjs/vercelConfiguration
To configure Rasengan.js for Vercel, you need to import the adapter in your rasengan.config.js file and integrate it with the Rasengan.js plugin.
Example Configuration
import { defineConfig } from 'rasengan';
import { rasengan } from 'rasengan/plugin';
import { configure } from '@rasenganjs/vercel';
export default defineConfig({
vite: {
plugins: [
rasengan({
adapter: configure(),
}),
],
},
});In the example above, the configure function from @rasenganjs/vercel is used to set up the Vercel adapter for the Rasengan.js application. The adapter is then passed to the rasengan plugin exported from rasengan/plugin to enable the necessary features for Vercel deployment.
Deployment
Once the adapter is configured, you can deploy your Rasengan.js application using Vercel's CLI:
vercelAlternatively, you can link your GitHub repository to Vercel, and it will automatically detect the configuration and deploy your application.
Learn more on the Documentation website.
Community
The Rasengan.js community can be found on GitHub Discussions where you can ask questions, voice ideas, and share your projects with other people.
We also have a Twitter account where you can follow us to get the latest news about Rasengan.js.
License
Rasengan.js is MIT licensed.
Authors
Here is the authors list:
- Dilane Kombou (@dilanekombou)
