Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
R
RuoYi-Vue-template
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
eazy-template
RuoYi-Vue-template
Commits
8d4de59c
Commit
8d4de59c
authored
Sep 11, 2025
by
zhangying
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
init
parent
e278860b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
Makefile
Makefile
+5
-5
No files found.
Makefile
View file @
8d4de59c
...
...
@@ -21,14 +21,14 @@ install:
# 运行命令
.PHONY
:
run
run
:
@
echo
"正在启动
Vue3 Vite 应用
..."
@
echo
"正在启动
若依管理系统
..."
@
RESOURCE_PATH
=
$(RESOURCE_PATH)
$(NPM)
run dev
>
$(LOG_FILE)
2>&1 &
@
echo
"✅
Vue3 Vite 应用
已启动,端口:
$(APP_PORT)
"
@
echo
"✅
若依管理系统
已启动,端口:
$(APP_PORT)
"
# 停止命令
.PHONY
:
stop
stop
:
@
echo
"正在停止
Vue3 Vite 应用
..."
@
echo
"正在停止
若依管理系统
..."
@
if
command
-v
lsof
>
/dev/null 2>&1
;
then
\
echo
"使用 lsof 命令停止应用..."
;
\
lsof
-ti
:
$(APP_PORT)
| xargs
kill
-9
2>/dev/null
||
echo
"没有找到运行在端口
$(APP_PORT)
的进程"
;
\
...
...
@@ -39,12 +39,12 @@ stop:
echo
"❌ 错误:系统中没有找到 lsof 或 ss 命令"
;
\
exit
1
;
\
fi
@
echo
"✅
Vue3 Vite 应用
已停止"
@
echo
"✅
若依管理系统
已停止"
# 构建命令
.PHONY
:
build
build
:
@
echo
"正在构建
Vue3 Vite 应用
..."
@
echo
"正在构建
若依管理系统
..."
@
$(NPM)
run build
@
echo
"✅ 构建完成!"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment