https://github.com/tangly1024/waline
https://github.com/tangly1024/waline
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/tangly1024/waline
- Owner: tangly1024
- Created: 2022-05-27T02:44:15.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2022-06-01T03:23:23.000Z (about 3 years ago)
- Last Synced: 2025-05-07T20:42:54.099Z (about 1 month ago)
- Language: JavaScript
- Homepage: waline-theta-rust.vercel.app
- Size: 1.95 KB
- Stars: 3
- Watchers: 2
- Forks: 6
- 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
```