Browse Source

add babel-polyfill

master
taylor 8 years ago
parent
commit
290569659f
  1. 2
      dist/index.html
  2. 5
      dist/static/css/app.3ea7fe31eb086ca151ec27f10bac96ab.css
  3. 1
      dist/static/css/app.3ea7fe31eb086ca151ec27f10bac96ab.css.map
  4. 5
      dist/static/css/app.87b5e86aaa4916c38ca674639f9bb4da.css
  5. 1
      dist/static/css/app.87b5e86aaa4916c38ca674639f9bb4da.css.map
  6. 2
      dist/static/js/app.db48dc6e1f98478901ed.js
  7. 1
      dist/static/js/app.db48dc6e1f98478901ed.js.map
  8. 2
      dist/static/js/app.e5788efd3235bb13134e.js
  9. 1
      dist/static/js/app.e5788efd3235bb13134e.js.map
  10. 2
      dist/static/js/manifest.2136b0a9b21fdd409c6e.js
  11. 2
      dist/static/js/manifest.2136b0a9b21fdd409c6e.js.map
  12. 2
      dist/static/js/manifest.4cb585d36ff2dc44df6d.js
  13. 30
      dist/static/js/vendor.09905ea616c3c3614030.js
  14. 1
      dist/static/js/vendor.09905ea616c3c3614030.js.map
  15. 33
      dist/static/js/vendor.ebbf7765a7035881a57f.js
  16. 1
      dist/static/js/vendor.ebbf7765a7035881a57f.js.map
  17. 3
      package.json
  18. 39
      src/components/charts/echarts.vue
  19. 1
      src/main.js

2
dist/index.html

@ -1 +1 @@
<!DOCTYPE html><html><head><meta charset=utf-8><title>vue element admin</title><link href=/vueAdmin/dist/static/css/app.87b5e86aaa4916c38ca674639f9bb4da.css rel=stylesheet></head><body><div id=app></div><script type=text/javascript src=/vueAdmin/dist/static/js/manifest.4cb585d36ff2dc44df6d.js></script><script type=text/javascript src=/vueAdmin/dist/static/js/vendor.09905ea616c3c3614030.js></script><script type=text/javascript src=/vueAdmin/dist/static/js/app.e5788efd3235bb13134e.js></script></body></html>
<!DOCTYPE html><html><head><meta charset=utf-8><title>vue element admin</title><link href=/vueAdmin/dist/static/css/app.3ea7fe31eb086ca151ec27f10bac96ab.css rel=stylesheet></head><body><div id=app></div><script type=text/javascript src=/vueAdmin/dist/static/js/manifest.2136b0a9b21fdd409c6e.js></script><script type=text/javascript src=/vueAdmin/dist/static/js/vendor.ebbf7765a7035881a57f.js></script><script type=text/javascript src=/vueAdmin/dist/static/js/app.db48dc6e1f98478901ed.js></script></body></html>

5
dist/static/css/app.3ea7fe31eb086ca151ec27f10bac96ab.css
File diff suppressed because it is too large
View File

1
dist/static/css/app.3ea7fe31eb086ca151ec27f10bac96ab.css.map
File diff suppressed because it is too large
View File

5
dist/static/css/app.87b5e86aaa4916c38ca674639f9bb4da.css
File diff suppressed because it is too large
View File

1
dist/static/css/app.87b5e86aaa4916c38ca674639f9bb4da.css.map
File diff suppressed because it is too large
View File

2
dist/static/js/app.db48dc6e1f98478901ed.js
File diff suppressed because it is too large
View File

1
dist/static/js/app.db48dc6e1f98478901ed.js.map
File diff suppressed because it is too large
View File

2
dist/static/js/app.e5788efd3235bb13134e.js
File diff suppressed because it is too large
View File

1
dist/static/js/app.e5788efd3235bb13134e.js.map
File diff suppressed because it is too large
View File

2
dist/static/js/manifest.2136b0a9b21fdd409c6e.js

@ -0,0 +1,2 @@
!function(e){function t(n){if(r[n])return r[n].exports;var a=r[n]={exports:{},id:n,loaded:!1};return e[n].call(a.exports,a,a.exports,t),a.loaded=!0,a.exports}var n=window.webpackJsonp;window.webpackJsonp=function(o,s){for(var c,i,p=0,l=[];p<o.length;p++)i=o[p],a[i]&&l.push.apply(l,a[i]),a[i]=0;for(c in s)e[c]=s[c];for(n&&n(o,s);l.length;)l.shift().call(null,t);if(s[0])return r[0]=0,t(0)};var r={},a={0:0};t.e=function(e,n){if(0===a[e])return n.call(null,t);if(void 0!==a[e])a[e].push(n);else{a[e]=[n];var r=document.getElementsByTagName("head")[0],o=document.createElement("script");o.type="text/javascript",o.charset="utf-8",o.async=!0,o.src=t.p+"static/js/"+e+"."+{1:"ebbf7765a7035881a57f",2:"db48dc6e1f98478901ed"}[e]+".js",r.appendChild(o)}},t.m=e,t.c=r,t.p="/vueAdmin/dist/"}([]);
//# sourceMappingURL=manifest.2136b0a9b21fdd409c6e.js.map

2
dist/static/js/manifest.2136b0a9b21fdd409c6e.js.map
File diff suppressed because it is too large
View File

2
dist/static/js/manifest.4cb585d36ff2dc44df6d.js

@ -1,2 +0,0 @@
!function(e){function t(n){if(r[n])return r[n].exports;var a=r[n]={exports:{},id:n,loaded:!1};return e[n].call(a.exports,a,a.exports,t),a.loaded=!0,a.exports}var n=window.webpackJsonp;window.webpackJsonp=function(c,o){for(var s,i,p=0,l=[];p<c.length;p++)i=c[p],a[i]&&l.push.apply(l,a[i]),a[i]=0;for(s in o)e[s]=o[s];for(n&&n(c,o);l.length;)l.shift().call(null,t);if(o[0])return r[0]=0,t(0)};var r={},a={0:0};t.e=function(e,n){if(0===a[e])return n.call(null,t);if(void 0!==a[e])a[e].push(n);else{a[e]=[n];var r=document.getElementsByTagName("head")[0],c=document.createElement("script");c.type="text/javascript",c.charset="utf-8",c.async=!0,c.src=t.p+"static/js/"+e+"."+{1:"09905ea616c3c3614030",2:"e5788efd3235bb13134e"}[e]+".js",r.appendChild(c)}},t.m=e,t.c=r,t.p="/vueAdmin/dist/"}([]);
//# sourceMappingURL=manifest.4cb585d36ff2dc44df6d.js.map

30
dist/static/js/vendor.09905ea616c3c3614030.js
File diff suppressed because it is too large
View File

1
dist/static/js/vendor.09905ea616c3c3614030.js.map
File diff suppressed because it is too large
View File

33
dist/static/js/vendor.ebbf7765a7035881a57f.js
File diff suppressed because it is too large
View File

1
dist/static/js/vendor.ebbf7765a7035881a57f.js.map
File diff suppressed because it is too large
View File

3
package.json

@ -19,13 +19,14 @@
"babel-core": "^6.0.0",
"babel-loader": "^6.2.8",
"babel-plugin-transform-runtime": "^6.0.0",
"babel-polyfill": "^6.16.0",
"babel-preset-es2015": "^6.0.0",
"babel-preset-stage-2": "^6.0.0",
"babel-register": "^6.0.0",
"chalk": "^1.1.3",
"connect-history-api-fallback": "^1.1.0",
"css-loader": "^0.26.0",
"element-ui": "^1.0.2",
"element-ui": "^1.0.5",
"eventsource-polyfill": "^0.9.6",
"express": "^4.13.3",
"extract-text-webpack-plugin": "^1.0.1",

39
src/components/charts/echarts.vue

@ -0,0 +1,39 @@
<template>
<section>
<div id="charts">
<div id="main" :style="{width:'600px',height:'400px'}"></div>
</div>
</section>
</template>
<script>
import echarts from "echarts"
export default{
data (){
return {
msg:"123"
}
},
mounted (){
var myChart = echarts.init(document.getElementById('main'));
myChart.setOption({
title: { text: 'ECharts 入门示例' },
tooltip: {},
xAxis: {
data: ["衬衫","羊毛衫","雪纺衫","裤子","高跟鞋","袜子"]
},
yAxis: {},
series: [{
name: '销量',
type: 'bar',
data: [5, 20, 36, 10, 10, 20]
}]
});
}
}
</script>
<style scoped>
</style>

1
src/main.js

@ -1,3 +1,4 @@
import babelpolyfill from 'babel-polyfill'
import Vue from 'vue'
import App from './App'
import ElementUI from 'element-ui'

Loading…
Cancel
Save