如何安装
ℹ️INFO
npm create alemonjs 已停止维护,不再用于创建项目。
ALemonX 安装
npm 安装
需要有nodejs环境
npm create alemonjs
cd alemonb
手动构建
适合需要自行维护项目的开发者。
mkdir alemonjs-app
cd alemonjs-app
npm init -y
npm install alemonjs
在 package.json 中设置 "type": "module",然后创建index.js入口文件:
index.js
import { start } from 'alemonjs'
start()
按开发手册编写路由和响应,然后启动:
node index.js
接着按连接平台配置机器人账号。