https://github.com/sunsetmkt/waline-vercel
https://github.com/sunsetmkt/waline-vercel
Last synced: 11 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/sunsetmkt/waline-vercel
- Owner: SunsetMkt
- Created: 2024-11-12T02:14:57.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-11-12T04:42:29.000Z (over 1 year ago)
- Last Synced: 2025-02-28T14:08:18.112Z (over 1 year ago)
- Language: JavaScript
- Homepage: https://vercel.app
- Size: 1.95 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Waline Example
This directory is a brief example of a [Waline](https://waline.js.org/) app that can be deployed with Vercel and zero configuration.
## Deploy Your Own
Deploy your own Waline project with Vercel.
[](https://vercel.com/import/project?template=https://github.com/walinejs/waline/tree/main/example)
### How We Created This Example
```js
//index.js
const Waline = require('@waline/vercel');
module.exports = Waline();
//vercel.json
{
"builds": [
{
"src": "index.js",
"use": "@vercel/node"
}
],
"routes": [
{
"src": "/(.*)",
"dest": "index.js"
}
]
}
```
### Deploying From Your Terminal
You can deploy your new Waline project with a single command from your terminal using [Vercel CLI](https://vercel.com/download):
```shell
vercel
```