51cc2b1b4b
# Conflicts: # client/src/main/java/com/alibaba/nacos/client/config/NacosConfigService.java # client/src/main/java/com/alibaba/nacos/client/config/impl/CacheData.java # client/src/main/java/com/alibaba/nacos/client/config/impl/ClientWorker.java # client/src/test/java/com/alibaba/nacos/client/config/common/GroupKeyTest.java # common/src/test/resources/META-INF/services/com.alibaba.nacos.common.spi.SpiTestInterface # config/src/main/java/com/alibaba/nacos/config/server/controller/ConfigServletInner.java # console/src/main/resources/static/css/main.css # console/src/main/resources/static/js/main.js # istio/src/main/java/com/alibaba/nacos/istio/mcp/NacosMcpService.java # naming/src/main/java/com/alibaba/nacos/naming/controllers/ApiController.java # naming/src/main/java/com/alibaba/nacos/naming/controllers/CatalogController.java # naming/src/main/java/com/alibaba/nacos/naming/push/PushService.java |
||
---|---|---|
.. | ||
build | ||
public | ||
src | ||
test | ||
.babelrc | ||
.editorconfig | ||
.eslintignore | ||
.eslintrc | ||
.gitignore | ||
.prettierignore | ||
.prettierrc | ||
package.json | ||
README.md | ||
tsconfig.json |
开始项目
国内访问 npm 比较慢,我们可以使用阿里的镜像, 在 npm 或者 yarn 命令后面加参数:
--registry=https://registry.npm.taobao.org 例:
npm install --registry=https://registry.npm.taobao.org
yarn --registry=https://registry.npm.taobao.org
安装依赖
yarn
或
npm install
启动
yarn start
或
npm start
构建打包
yarn build
或
npm run build
代理配置
build/webpack.dev.conf.js
修改proxy属性
proxy: [{
context: ['/'],
changeOrigin: true,
secure: false,
target: 'http://ip:port',
}],