nacos/console-ui
XS 84b3afcfca
#11129 ⚰ Remove the namespace information from the node list page, as the no… (#11130)
* ⚰ Remove the namespace information from the node list page, as the node list has nothing to do with namespaces and should not display namespace information
⚰ configurationManagement8: 'Configuration Management',case sensitive

* 🐛 Fix, when adding configurations using the default public namespace, the namespace is shown as empty or nodefine

* #Configuration list page
- PageTitle is added to show the description, if there is no description, it will show the name, hide the namespace ID, and keep the function of namespace ID copying.
- Removed the Create New Configuration function from the right + icon and replaced it with the Create Configuration button on the left.
- Multi-language configuration fixes and adds new hints

* #Cluster list, namespace list, service list, list of listeners, version history
- Unified the style of all right-side buttons to the left side.
- Namespaces are now displayed in a unified style.

* #PageTitle, Copy, NameSpace
- Optimization of basic components, added Chinese and English information, namespace description presentation and other functions
2023-09-19 16:13:50 +08:00
..
build [ISSUE #9448] use local font files (#9995) 2023-02-23 14:20:53 +08:00
public [ISSUE #8156] Add hash-tag for js and css (#8157) 2022-04-20 10:20:26 +08:00
src #11129 ⚰ Remove the namespace information from the node list page, as the no… (#11130) 2023-09-19 16:13:50 +08:00
test refactor: 💡 update console-ui theme (#8951) 2022-08-11 21:40:54 +08:00
.babelrc console\src\main\resources\static\console-fe 挪到根目录并改名为 console-ui (#4174) 2020-11-09 11:53:33 +08:00
.editorconfig console\src\main\resources\static\console-fe 挪到根目录并改名为 console-ui (#4174) 2020-11-09 11:53:33 +08:00
.eslintignore console\src\main\resources\static\console-fe 挪到根目录并改名为 console-ui (#4174) 2020-11-09 11:53:33 +08:00
.eslintrc console\src\main\resources\static\console-fe 挪到根目录并改名为 console-ui (#4174) 2020-11-09 11:53:33 +08:00
.gitignore console\src\main\resources\static\console-fe 挪到根目录并改名为 console-ui (#4174) 2020-11-09 11:53:33 +08:00
.prettierignore console\src\main\resources\static\console-fe 挪到根目录并改名为 console-ui (#4174) 2020-11-09 11:53:33 +08:00
.prettierrc console\src\main\resources\static\console-fe 挪到根目录并改名为 console-ui (#4174) 2020-11-09 11:53:33 +08:00
package-lock.json #11129 ⚰ Remove the namespace information from the node list page, as the no… (#11130) 2023-09-19 16:13:50 +08:00
package.json #11129 ⚰ Remove the namespace information from the node list page, as the no… (#11130) 2023-09-19 16:13:50 +08:00
README.md update README.md (#6024) 2021-06-09 17:08:53 +08:00
tsconfig.json console\src\main\resources\static\console-fe 挪到根目录并改名为 console-ui (#4174) 2020-11-09 11:53:33 +08:00

开始项目

国内访问 npm 比较慢,我们可以使用阿里的镜像, 在 npm 或者 yarn 命令后面加参数:

--registry=https://registry.npm.taobao.org 例:

npm install --registry=https://registry.npm.taobao.org
yarn --registry=https://registry.npm.taobao.org

详情地址: http://npm.taobao.org/

Node安装

NodeJS提供了一些安装程序都可以在nodejs.org 这里下载并安装。mac系统选择.pkg结尾的文件下载安装。 注意node版本号过高可能导致 npm install 时失败,建议版本:

  • node:v8.16.0
  • npm:6.4.1

安装依赖

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',
}],