gulpfile.js const gulp = require('gulp'); const cssnano = require('gulp-cssnano'); const sass = require('gulp-sass'); const rename = require('gulp-ren ...
分类:
其他好文 时间:
2020-07-26 01:14:27
阅读次数:
91
js中动态添加的css属性,自动添加前缀,适配当前浏览器 let elementStyle = document.createElement('div').style let vendor = (() => { let transformNames = { webkit: 'webkitTransf ...
分类:
Web程序 时间:
2020-07-25 09:18:35
阅读次数:
85
安装Ruby语言 0.查看哪些是稳定版 http://www.ruby-lang.org/zh_cn/downloads/ 1.网站下载 https://cache.ruby-china.com/pub/ruby/ruby-2.6.6.tar.xz 2.也可以wget下载 wget https:// ...
分类:
其他好文 时间:
2020-07-24 22:04:57
阅读次数:
73
C:\Program Files (x86)\Jenkins\plugins\ruby-runtime\WEB-INF\lib\classes.jar: The process cannot access the file because it is being used by another pr ...
分类:
其他好文 时间:
2020-07-24 21:30:48
阅读次数:
197
一:RabbitMQ简介 AMQP,即Advanced Message Queuing Protocol,高级消息队列协议,是应用层协议的一个开放标准,为面向消息的中间件设计。消息中间件主要用于组件之间的解耦,消息的发送者无需知道消息使用者的存在,反之亦然。AMQP的主要特征是面向消息、队列、路由( ...
1.安装sass 依赖包 终端输入 npm install sass-loader --save-dev npm install node-sass --sava-dev 2.build文件夹下的webpack.base.conf.js的rules里面添加配置 { test: /\.scss$/, ...
分类:
Web程序 时间:
2020-07-24 16:27:10
阅读次数:
96
1、vscode安装两个插件: 2、写好scss后,点击 3、直接引入转好的css文件就可以了 ...
分类:
Web程序 时间:
2020-07-24 15:46:13
阅读次数:
126
1,css篇: 全局引入公共的scss或者其他预编译文件 ,主要依赖:sass-resources-loader, 详见我上一篇博客2. js篇: 2.1:props和$emit 巧用修饰符语法糖sync来优雅的更新props ,父子组件的传值prop是很常用的业务,需要在子组件去更新prop的场景 ...
分类:
其他好文 时间:
2020-07-22 15:54:01
阅读次数:
74
1、项目初始 基于vue-cli搭建项目 vue create news-app 页面采用flex布局、样式使用sass 2、首页的搭建 主要包括导航栏,轮播图,及主要新闻的展示 2、点击导航栏可进行不同新闻的切换 通过id的不同获得不同的数据,进行页面渲染,每个页面只展示5条数据,对页面进行分页, ...
分类:
Web程序 时间:
2020-07-20 15:50:35
阅读次数:
169
说到使用这个开源的前端框架,我真tm想骂人。直接pull下来后,install后就是出现一种关于的错误sass。 网上搜了一大堆也不行,换了node也不行 结果改了配置文件可以了 完整的代码如下 { "name": "renren-fast-vue", "version": "1.2.2", "de ...
分类:
其他好文 时间:
2020-07-19 23:56:52
阅读次数:
163