杜郎俊赏 - dujun.io

开源实例之Trio

前言

Trio is a fast, simple yet powerful JavaScript-driven static site generator.

Trio's unique approach to extending your pages with dynamic content using its tag-based callback mechanism makes it stand out from other static site generators, which rely on either templating engines or frameworks.

实例地址

http://trio.dujun.eu.org

实例配置

配置描述
系统Debian
开发环境服务端Node.js 16
服务器Nginx
程序Trio 6.1.0

实例部署

权限要求

  • 具有系统读写权限
  • 已安装 Node.js
  • 已安装 Nginx

安装程序

官网地址:https://gettriossg.com
程序仓库:https://github.com/4awpawz/trio
示例仓库:https://github.com/4awpawz/trio-blog-example

#克隆代码
git clone https://github.com/4awpawz/trio-blog-example.git
cd trio-blog-example

#安装 trio
npm i -g @4awpawz/trio

#生成静态文件
trio build

实例体验

进入实例深度体验

后记

本实例仅供参考,不定期重置数据。

体验更多开源实例

标签: 开源实例 个人开源实例 Node.js开源实例 静态博客开源实例
日期:2023-12-06