2niuhe / walinejs-niuhe

Home Page:walinejs-niuhe.vercel.app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Waline Example

This directory is a brief example of a Waline app that can be deployed with Vercel and zero configuration.

Deploy Your Own

Deploy your own Waline project with Vercel.

Deploy with Vercel

How We Created This Example

//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:

vercel

About

walinejs-niuhe.vercel.app


Languages

Language:JavaScript 54.3%Language:Shell 45.7%