-
C:/windows:System32/drivers/etc/hosts 添加:
127.0.0.1 dev.appsmith.com -
app/client/package.json 文件中修改,注意(set xx=yy&&前不能有空格):
{ ... "scripts": { "start": "set BROWSER=none&& set EXTEND_ESLINT=true&& set REACT_APP_ENVIRONMENT=DEVELOPMENT&& set REACT_APP_CLIENT_LOG_LEVEL=debug&& set HOST=dev.appsmith.com&& craco start", "postinstall": "patch-package && CURRENT_SCOPE=client node ../shared/install-dependencies.js", "preinstall": "CURRENT_SCOPE=client node ../shared/build-shared-dep.js", } } -
app/shared/ast 连接link,可能需要重启vscode
- yarn install # if you unzip the node_modules folder and skip the step
- yarn start
- cd build
- cp -R ../node_modules ./node_modules
- yarn link
-
app/client 安装和link
- yarn link "@shared/ast"
- yarn install
- yarn start