vue
是拾玖不是十九
这个作者很懒,什么都没留下…
展开
-
vue中require引入路径存在变量
需求 菜单icon是通过后台获取的,但图片本身存在前端,后台返回的数据是图片名称。问题 直接使用require(‘路径名’+图片名+’.png’)报错:解决思路 使用require.context找到图片相关信息,名称原创 2021-06-26 16:44:24 · 6209 阅读 · 2 评论 -
Can‘t find Python executable “python“, you can set the PYTHON env variable
npm i node-sass --sass_binary_site=https://npm.taobao.org/mirrors/node-sass/原创 2021-04-30 11:54:25 · 313 阅读 · 0 评论 -
vue生命周期
vue创建到销毁有八个步骤<div id="app"> <button @click="click">按钮</button> <div id="box">{{msg}}</div> <button id="count" @click="add">{{count}}</button> &...原创 2020-03-07 18:47:22 · 189 阅读 · 0 评论