摘要: 本篇介绍如何将vue3项目打包发布到服务器上,然后在微信公众号上打开。 vue3发布之前需要对项目进行编译,编译时会在项目根目录下创建 dist 文件夹,编译后的文件会存放在这里。 在编译之前,我们在public目录下建一个 config.js 的文件,代码如下: const config = { 阅读全文
posted @ 2023-04-20 12:02 屏风马 阅读(608) 评论(0) 推荐(0) 编辑
摘要: 我的页面效果如下: Mine.vue 页面代码如下: 布局块代码: 1 <template> 2 <div class="mine"> 3 4 <div class="mine-top"> 5 <img src="/mine.png" /><br /> 6 <span class="mine-top 阅读全文
posted @ 2023-04-20 01:00 屏风马 阅读(143) 评论(0) 推荐(0) 编辑