• 博客园logo
  • 会员
  • 周边
  • 新闻
  • 博问
  • 闪存
  • 众包
  • 赞助商
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
 






ohayou666

 
 

Powered by 博客园
博客园 | 首页 | 新随笔 | 联系 | 订阅 订阅 | 管理

2021年6月2日

新版vue-cli打包配置
摘要: 1:在根目录下增加vue.config.js文件,将publicPath设置为'./' module.exports = { outputDir: 'regulations', assetsDir: 'static', publicPath: './'} 2:如果路由为history模式,找到路由下 阅读全文
posted @ 2021-06-02 14:12 ohayou666 阅读(61) 评论(0) 推荐(0)
 

2021年5月27日

vue中v-for循环列表中如何将样式绑定在某一列上
摘要: 1:html <div class="bd7 flex-row"> <span class="word3 flex-col" v-for="(item, index) in datalist" :class="currentClass(index)" v-on:click="jgClick(item 阅读全文
posted @ 2021-05-27 17:25 ohayou666 阅读(525) 评论(0) 推荐(0)