// 1.安装插件
vue add ftp
// 2.vue.config.js中设置配置
pluginOptions: {
ftp: {
host: "192.168.31.147", // ftp地址
remoteFtpPath: "DISK-D/soft/tomcat8/webapps/product/" // 项目地址
}
},
// 3.package.json中 build的命令修改为
vue-cli-service build --no-clean && vue-cli-service ftpdeploy
forked from phpjavac/vue-cli-plugin-ftp
-
Notifications
You must be signed in to change notification settings - Fork 0
llome/vue-cli-plugin-ftp
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
基于ftp.js实现无痕部署服务器
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published
Languages
- JavaScript 100.0%