Ie10不兼容浏览器
http://blog.csdn.net/n____n/article/details/56666596
淘宝镜像
npm install -g cnpm --registry=https://registry.npm.taobao.org
===============================================================
前端经典博客
http://92node.com/
http://92node.com/plugin/59168ca87ef8cc1cefd71203
--------------------------------------------------------------
按需引入element-ui
https://segmentfault.com/q/1010000010053759
=-=============================================================
fiddler重定向
http://www.jianshu.com/p/204544614daf
-----------------------------------------------------------------------------
jquery引入的方法、
https://segmentfault.com/a/1190000007020623
在jquery引入后没有问题 import $ from 'expose-loader?$!jquery';
但是当引入layer的时候就会报错说jquery未定义
解决办法:在webpack的build下的weback。base。config
(1)const webpack = require('webpack')
(2)在module.exports添加
plugins: [
new webpack.ProvidePlugin({
$: "jquery",
jQuery: "jquery"
})
],
---------------------------------------------------------
layer
http://layer.layui.com/
-----------------------------------------------------------------------
http://mint-ui.github.io/docs/
-------------------------------------------------------------
http://element.eleme.io/#/en-US/component/collapse
------------------------------------------------------------
适应avalon的样式组件
http://hotelued.qunar.com/oniui/index.html#!/apis
---------------------------------------------------------------
vue的拖拽插件
https://github.com/SortableJS/Vue.Draggable
-----------------------------------------------------------------------
素材
生命周期
http://www.zhimengzhe.com/Javascriptjiaocheng/236707.html
-------------------------------------------------------------------------
vue的拖拽插件
https://github.com/SortableJS/Vue.Draggable
-----------------------------------------------------------------
video.js
http://videojs.com/getting-started/#download-cdn
-----------------------------------------------------------------
划拨图片swiper
http://www.swiper.com.cn/api/start/2014/1218/140.html
----------------------------------------------------------------------
视频编码
http://jingyan.baidu.com/article/48b558e335d0ac7f39c09a66.html
---------------------------------------------------------------------
webpack引入jQuery、
http://blog.csdn.net/yiifaa/article/details/51916560
------------------------------------------------------------------
分页
https://github.com/sant123/vuejs-uib-pagination
首先下载在webpack中看到注册版本
在index。html中引入vuejs-uib-pagination。js
在main。js中引入vuejs-uib-pagination。css和import vuejs-uib-pagination和vue.use(vuejs-uib-pagination)
在main中
import './css/pagination.css';
import Vue from 'vue';
import * as pagination from "vuejs-uib-pagination";
Vue.use(pagination);
最后在页面进行引用
import pagination from "vuejs-uib-pagination";
-----------------------------------------------
百度api
APP ID: 20170825000076950
密钥: aZXvNv1ZVzocPEQxMl9V
====================================================
http://vadikom.com/demos/poshytip/#examples
=========================================================
tootip的使用方法
有layer层
getToolTipInLayer() {
$('[data-toggle="tooltip"][data-tooltip="if"]').tooltip({
container: "body", html: true,title: function () {
return $(this).siblings('.tooltip').html();
},
placement: "auto right"
}).on('shown.bs.tooltip', function (event) {
$(this).parents("body").find('div.tooltip').css({zIndex: layer.zIndex});
});
},
必须要在dom刷新完后执行,一般放在ajax请求数据之后。
<span data-toggle="tooltip" data-tooltip="if" > {{passItem.catalogueName}}</span>
<span class="tooltip" style="display:none">{{passItem.englishName}}</span>
-----------------------------------------------------------------------------------------
没有layer
getToolTip() {
$('[data-toggle="tooltip"][data-tooltip="normal"]').tooltip({
container: "body",
html: true,
placement: "auto top"
});
$('[data-toggle="tooltip"][data-tooltip="if"]').tooltip({
container: "body", html: true, title: function () {
return $(this).find('[data-tooltip="view"]').html();
},
placement: "auto top"
});
},
=================================================================
vue-file-loader
文件上传
https://codepen.io/anon/pen/pWyrYx
中文file api
https://developer.mozilla.org/zh-CN/docs/Web/API/File
Ie不兼容vuex