自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(4)
  • 收藏
  • 关注

原创 Vue全局引入自定义组件

书写组件<!-- index.vue --><template> <button class="h-button" :type="type"> <slot></slot> </button></template><script>export default { props:{ type:{ type:String, default:'button..

2020-09-01 21:35:14 972

原创 JS文字复制粘贴

方法一:使用input的 select()方法<!-- html --><div id="copy-target"> 复制文本</div><button onclick="copy('#copy-target')">复制</button><!-- js --><script>function copy(target) { // 获取目标复制内容 const txt = document.

2020-09-01 21:21:10 1247

原创 CLI下SCSS全局变量自动化导入

1.vue add style-resources-loader官网https://www.npmjs.com/package/style-resources-loader2.vue.config.js配置const path=require('path')module.exports={ pluginOptions:{ 'style-resources-loader':{ 'preProcessor':'scss', "patterns":[

2020-08-31 23:17:57 185

原创 vue项目运行 /sockjs-node/info?t= 报错

如图修改/node_modules/sockjs-client/dist/sockjs.js注释掉1606行 保存刷新就搞定啦!

2020-08-31 23:14:39 611

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除