-
Notifications
You must be signed in to change notification settings - Fork 29
Expand file tree
/
Copy pathneotw.config.mjs
More file actions
29 lines (29 loc) · 1.07 KB
/
Copy pathneotw.config.mjs
File metadata and controls
29 lines (29 loc) · 1.07 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
// /** @type {import ('./types.d.mjs').ConfigOptions} */
/** @type {import ('./types').ConfigOptions} */
export default {
name: 'tiddlywiki-starter-kit', // 配置项的名称
description:
'A modern style and elegant notebook built with Tiddlywiki5 and Tailwindcss', // 配置项的描述
server: {
port: 8000, // 服务器监听的端口号
host: true, // 是否启用主机模式
hostname: '0.0.0.0', // 主机名
qrcode: true, // 是否显示二维码
zen: false, // 是否启用zen模式
open: false, // 是否在启动时打开浏览器
},
build: {
// coming...
offline_page: true, // 是否启用离线页面
minify: true, // 是否启用代码压缩
},
auth: false,
username: 'oeyoews', // 用户名
password: 'oeyoews', // 密码
output: '.tiddlywiki', // 输出目录
wiki: 'neotw-tiddlers', // 维基库目录
markdown: true, // 是否启用Markdown渲染
tiddlersRepo: 'oeyoews/neotw-tiddlers', // 存储Tiddler的仓库
pluginversion: '5.3.4', // 插件版本
checkfilesize: false, // 是否检查文件大小
};