blob: 3fcad51062213962c52997ee407763010b5e8809 [file] [log] [blame]
__NUXT_JSONP__("/zh/basics/download", (function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,A,B,C){return {data:[{article:{slug:"download",toc:[{id:l,depth:2,text:l},{id:w,depth:m,text:t},{id:x,depth:m,text:u},{id:y,depth:m,text:v},{id:k,depth:m,text:k}],body:{type:"root",children:[{type:b,tag:"h1",props:{id:"获取-apache-echarts"},children:[{type:b,tag:d,props:{href:"#%E8%8E%B7%E5%8F%96-apache-echarts",ariaHidden:e,tabIndex:f},children:[{type:b,tag:g,props:{className:[h,i]},children:[]}]},{type:a,value:"获取 Apache ECharts"}]},{type:a,value:c},{type:b,tag:j,props:{},children:[{type:a,value:"Apache ECharts 提供了多种安装方式,你可以根据项目的实际情况选择以下任意一种方式安装。"}]},{type:a,value:c},{type:b,tag:"ul",props:{},children:[{type:a,value:c},{type:b,tag:n,props:{},children:[{type:a,value:t}]},{type:a,value:c},{type:b,tag:n,props:{},children:[{type:a,value:u}]},{type:a,value:c},{type:b,tag:n,props:{},children:[{type:a,value:v}]},{type:a,value:c},{type:b,tag:n,props:{},children:[{type:a,value:k}]},{type:a,value:c}]},{type:a,value:c},{type:b,tag:j,props:{},children:[{type:a,value:"接下来我们将分别介绍这些安装方式,以及下载后的目录结构。"}]},{type:a,value:c},{type:b,tag:"h2",props:{id:l},children:[{type:b,tag:d,props:{href:"#%E5%AE%89%E8%A3%85%E6%96%B9%E5%BC%8F",ariaHidden:e,tabIndex:f},children:[{type:b,tag:g,props:{className:[h,i]},children:[]}]},{type:a,value:l}]},{type:a,value:c},{type:b,tag:o,props:{id:w},children:[{type:b,tag:d,props:{href:"#%E4%BB%8E-github-%E8%8E%B7%E5%8F%96",ariaHidden:e,tabIndex:f},children:[{type:b,tag:g,props:{className:[h,i]},children:[]}]},{type:a,value:t}]},{type:a,value:c},{type:b,tag:j,props:{},children:[{type:b,tag:d,props:{href:"https:\u002F\u002Fgithub.com\u002Fapache\u002Fecharts",rel:[p,q,r],target:s},children:[{type:a,value:"apache\u002Fecharts"}]},{type:a,value:" 项目的 "},{type:b,tag:d,props:{href:"https:\u002F\u002Fgithub.com\u002Fapache\u002Fecharts\u002Freleases",rel:[p,q,r],target:s},children:[{type:a,value:"release"}]},{type:a,value:" 页面可以找到各个版本的链接。点击下载页面下方 Assets 中的 Source code,解压后 "},{type:b,tag:z,props:{},children:[{type:a,value:"dist"}]},{type:a,value:" 目录下的 "},{type:b,tag:z,props:{},children:[{type:a,value:"echarts.js"}]},{type:a,value:" 即为包含完整 ECharts 功能的文件。"}]},{type:a,value:c},{type:b,tag:o,props:{id:x},children:[{type:b,tag:d,props:{href:"#%E4%BB%8E-npm-%E8%8E%B7%E5%8F%96",ariaHidden:e,tabIndex:f},children:[{type:b,tag:g,props:{className:[h,i]},children:[]}]},{type:a,value:u}]},{type:a,value:c},{type:b,tag:"div",props:{className:["nuxt-content-highlight"]},children:[{type:b,tag:"md-code-block",props:{lang:"sh","line-highlights":A,"file-name":A},children:[{type:a,value:"npm install echarts --save\n"}]}]},{type:a,value:c},{type:b,tag:j,props:{},children:[{type:a,value:"详见"},{type:b,tag:d,props:{href:"zh\u002Fbasics\u002Fimport"},children:[{type:a,value:"在项目中引入 Apache ECharts"}]},{type:a,value:B}]},{type:a,value:c},{type:b,tag:o,props:{id:y},children:[{type:b,tag:d,props:{href:"#%E4%BB%8E-cdn-%E8%8E%B7%E5%8F%96",ariaHidden:e,tabIndex:f},children:[{type:b,tag:g,props:{className:[h,i]},children:[]}]},{type:a,value:v}]},{type:a,value:c},{type:b,tag:j,props:{},children:[{type:a,value:"推荐从 jsDelivr 引用 "},{type:b,tag:d,props:{href:"https:\u002F\u002Fwww.jsdelivr.com\u002Fpackage\u002Fnpm\u002Fecharts",rel:[p,q,r],target:s},children:[{type:a,value:"echarts"}]},{type:a,value:B}]},{type:a,value:c},{type:b,tag:o,props:{id:k},children:[{type:b,tag:d,props:{href:"#%E5%9C%A8%E7%BA%BF%E5%AE%9A%E5%88%B6",ariaHidden:e,tabIndex:f},children:[{type:b,tag:g,props:{className:[h,i]},children:[]}]},{type:a,value:k}]},{type:a,value:c},{type:b,tag:j,props:{},children:[{type:a,value:"如果只想引入部分模块以减少包体积,可以使用 "},{type:b,tag:d,props:{href:"https:\u002F\u002Fecharts.apache.org\u002F\u002Fbuilder.html",rel:[p,q,r],target:s},children:[{type:a,value:"ECharts 在线定制"}]},{type:a,value:"功能。"}]}]},dir:"\u002Fzh\u002Fbasics",path:"\u002Fzh\u002Fbasics\u002Fdownload",extension:".md",createdAt:C,updatedAt:C},postPath:"zh\u002Fbasics\u002Fdownload"}],fetch:{},mutations:[]}}("text","element","\n","a","true",-1,"span","icon","icon-link","p","在线定制","安装方式",3,"li","h3","nofollow","noopener","noreferrer","_blank","从 GitHub 获取","从 npm 获取","从 CDN 获取","从-github-获取","从-npm-获取","从-cdn-获取","code","","。","2021-08-02T05:33:02.867Z")));