mirror of
https://gitee.com/wonderful-code/buildadmin
synced 2024-11-21 06:29:50 +00:00
refactor(Terminal):设置 NPM 源的命令名称调整
This commit is contained in:
parent
a8f364cd4d
commit
10d3eb2494
@ -121,8 +121,8 @@ return [
|
|||||||
'command' => 'nr build',
|
'command' => 'nr build',
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
// 设置源
|
// 设置 NPM 源
|
||||||
'set-registry' => [
|
'set-npm-registry' => [
|
||||||
'npm' => 'npm config set registry https://registry.npmjs.org/ && npm config get registry',
|
'npm' => 'npm config set registry https://registry.npmjs.org/ && npm config get registry',
|
||||||
'taobao' => 'npm config set registry https://registry.npmmirror.com/ && npm config get registry',
|
'taobao' => 'npm config set registry https://registry.npmmirror.com/ && npm config get registry',
|
||||||
'tencent' => 'npm config set registry https://mirrors.cloud.tencent.com/npm/ && npm config get registry'
|
'tencent' => 'npm config set registry https://mirrors.cloud.tencent.com/npm/ && npm config get registry'
|
||||||
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -1,14 +1,14 @@
|
|||||||
<!doctype html>
|
<!doctype html>
|
||||||
<html lang="en">
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8" />
|
<meta charset="UTF-8" />
|
||||||
<link rel="icon" href="/install/favicon.ico" />
|
<link rel="icon" href="/install/favicon.ico" />
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||||
<title>BuildAdmin-安装</title>
|
<title>BuildAdmin-安装</title>
|
||||||
<script type="module" crossorigin src="/install/assets/index.js"></script>
|
<script type="module" crossorigin src="/install/assets/index.js"></script>
|
||||||
<link rel="stylesheet" crossorigin href="/install/assets/index.css">
|
<link rel="stylesheet" crossorigin href="/install/assets/index.css">
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div id="app"></div>
|
<div id="app"></div>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
Loading…
Reference in New Issue
Block a user