我已经从https://github.com/tantaman/Strut下载了strut编辑器

但是在离线模式下,index.html不会加载编辑器。如何打开编辑器?
从应用程序文件夹中,我运行index.html,但未显示任何内容

最佳答案

Strut IO(https://github.com/tantaman/Strut)项目的主页将我们引至“开发/构建”部分。

To build your own version of Strut you'll need Grunt v0.4.0 or later.
 1. Install the latest Grunt: npm install -g grunt-cli
 2. Clone Strut: git clone git://github.com/tantaman/Strut.git
 3. cd Strut
 4. Install Strut's development dependencies: npm install
 5. Run Strut: grunt server (the server runs at localhost:9000)
To make a production build of Strut run grunt build. The resulting build will be located in Strut/dist

08-06 04:03