摘要: objkey(obj, keys){ //對象數組排序 var n = keys.length, key = [] while(n--){ key.push(obj[keys[n]]) } return key.join('|') }, uniqeByKeys(array,keys){ var ar 阅读全文
posted @ 2018-09-28 10:43 yes勇往直前 阅读(148) 评论(0) 推荐(0)
摘要: <template> <div class="chart-bar-container" :id="id"> </div></template> <script>// import echarts from 'echarts'const echarts = require('echarts/lib/e 阅读全文
posted @ 2018-09-28 10:40 yes勇往直前 阅读(855) 评论(0) 推荐(0)
摘要: // see http://vuejs-templates.github.io/webpack for documentation.var path = require('path') module.exports = { build: { env: require('./prod.env'), i 阅读全文
posted @ 2018-09-28 10:38 yes勇往直前 阅读(962) 评论(0) 推荐(0)
摘要: // The Vue build version to load with the `import` command// (runtime-only or standalone) has been set in webpack.base.conf with an alias.import Vue f 阅读全文
posted @ 2018-09-28 10:38 yes勇往直前 阅读(577) 评论(0) 推荐(0)
摘要: 'use strict'const path = require('path')const utils = require('./utils')const config = require('../config')const vueLoaderConfig = require('./vue-load 阅读全文
posted @ 2018-09-28 10:37 yes勇往直前 阅读(429) 评论(0) 推荐(0)
摘要: 项目安装流程 1 先安装node 版本不能太低 2 全局安装 脚手架 npm install -g @vue/cli-init 3 安装webpack模板项目 vue init webpack my-project 4 安装其他项目依赖 比如 vue-router axios vuex css-lo 阅读全文
posted @ 2018-09-28 10:35 yes勇往直前 阅读(516) 评论(0) 推荐(0)