yari:MDN Web文档背后的平台代码

时间:2021-02-10 23:03:58
【文件属性】:
文件名称:yari:MDN Web文档背后的平台代码
文件大小:1.31MB
文件格式:ZIP
更新时间:2021-02-10 23:03:58
mdn yari HTML 亚里 快速开始 开始使用Yari之前,您需要 。 请参阅其自述文件,其基本内容如下: git clone https://github.com/mdn/content.git mdn/content 现在,您只需要在启动Yari之前注意该文件夹的位置即可。 要在本地运行Yari,首先需要安装 , (> = 12.0.0)和 。 之后,在bash中运行以下命令: git clone https://github.com/mdn/yari.git cd yari yarn echo CONTENT_ROOT=/path/to/mdn/content/files >> .env yarn dev open http://localhost:3000 确保指向内容存储库克隆中的/files夹。 如果你愿意,你可以先用叉子叉回购和做git clone用你的叉子,而不是mdn之一。 yar

网友评论