windows搭建scratch

1、采用git安装scratch

git clone https://github.com/LLK/scratch-gui.git

image.png

2、安装依赖并编译


进入代码目录:

cd scratch-gui

安装依赖(过程可能较慢,耐心等待):

npm install

编译项目(生成可运行的网页文件):

npm run build

编译完成后,会生成 build 文件夹,里面是最终的网页代码。

image.png

文章导航