【文件属性】:
文件名称:vertx-web-site:Vert.x 4的新网站
文件大小:4.32MB
文件格式:ZIP
更新时间:2021-04-29 11:48:48
JavaScript
Vert.x网站
该存储库包含Vert.x网站( )的来源。
快速开始
要构建项目,请在运行npm install之前确保已安装libsass 。 在Fedora上:
sudo dnf install libsass libsass-devel
初始化本地副本:
npm i
下载并解压缩Vert.x文档的AsciiDoc源文件:
npm run update-docs
以开发模式启动网站:
npm run dev
导出静态网站:
npm run build
该网站将被导出到out目录。
测试导出的网站:
cd out
npx serve
码头工人
如果您不想安装Node.js,请改用Docker:
# Initialize local copy
rm -rf node_modules
docker run -it -v $(pwd):/vertx node:14-sli