daruk icon indicating copy to clipboard operation
daruk copied to clipboard

项目启动 | Daruk

Open xiaojue opened this issue 5 years ago • 4 comments

https://darukjs.com/tutorial/starup.html

Daruk, a typescript web framework.

xiaojue avatar Sep 11 '20 08:09 xiaojue

export default new Daruk('daruk-project', options); 会报expected 0 argument , but get 2 . 是跟ts 的配置有关嘛

liuyingbin1922 avatar Jun 25 '21 15:06 liuyingbin1922

@liuyingbin1922 你用的应该是老版本的,更新到最新吧,然后启动应该用 DarukServer 来启动

xiaojue avatar Jul 09 '21 10:07 xiaojue

数据库的配置你可以参考这个 demo:https://github.com/darukjs/daruk/tree/2.0/example/02-comments @liuyingbin1922 里面有数据库连接的写法,在 glues 下。

xiaojue avatar Jul 09 '21 10:07 xiaojue

好 我试试

------------------ 原始邮件 ------------------ 发件人: xiaojue @.> 发送时间: 2021年7月9日 18:48 收件人: darukjs/daruk @.> 抄送: yingbin同学 @.>, Mention @.> 主题: 回复:[darukjs/daruk] 项目启动 | Daruk (#110)

@liuyingbin1922 你用的应该是老版本的,更新到最新吧,然后启动应该用 DarukServer 来启动

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe.

liuyingbin1922 avatar Jul 09 '21 10:07 liuyingbin1922