yulegeyu icon indicating copy to clipboard operation
yulegeyu copied to clipboard

怎么部署?

Open yangzhi-1 opened this issue 2 years ago • 12 comments

yangzhi-1 avatar Sep 17 '22 09:09 yangzhi-1

同问!

limit123123 avatar Sep 17 '22 10:09 limit123123

这是前端项目 build 打包就可以了

ahlblzk avatar Sep 17 '22 11:09 ahlblzk

我试试看

limit123123 avatar Sep 17 '22 12:09 limit123123

下载node.js,到目录下npm install, 然后npm run build生成dist文件夹,把里面的静态文件拷贝到服务器web目录即可

fanjiehao886 avatar Sep 17 '22 15:09 fanjiehao886

ok.感谢兄弟!成功了。我本地运行的

limit123123 avatar Sep 18 '22 02:09 limit123123

给你点赞

yangzhi-1 avatar Sep 18 '22 03:09 yangzhi-1

谢谢兄弟,给你也点赞

limit123123 avatar Sep 20 '22 02:09 limit123123

打包报错,整不成,谁打包好的分享出来一下

kaiyuanzhonguo avatar Sep 22 '22 07:09 kaiyuanzhonguo

npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! [email protected] build: vue-tsc --noEmit && vite build npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the [email protected] build script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:

kaiyuanzhonguo avatar Sep 22 '22 07:09 kaiyuanzhonguo

image 有图案显示方框咋弄呀。

xionguo avatar Sep 26 '22 05:09 xionguo

打包报错,整不成,谁打包好的分享出来一下

dist.zip 我一开始也是,重新安装了一个最新的node.js就没问题了。

xionguo avatar Sep 26 '22 05:09 xionguo

image 有图案显示方框咋弄呀。

解决了。这个是访问这个网站的电脑自己本身没有解析这字符的原因。

xionguo avatar Sep 26 '22 06:09 xionguo