(window.webpackJsonp=window.webpackJsonp||[]).push([[37],{676:function(a,s,t){"use strict";t.r(s);var e=t(12),r=Object(e.a)({},(function(){var a=this,s=a._self._c;return s("ContentSlotsDistributor",{attrs:{"slot-key":a.$parent.slotKey}},[s("h1",{attrs:{id:"如何设置以及启动项目"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#如何设置以及启动项目"}},[a._v("#")]),a._v(" 如何设置以及启动项目")]),a._v(" "),s("h2",{attrs:{id:"安装依赖"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#安装依赖"}},[a._v("#")]),a._v(" 安装依赖")]),a._v(" "),s("div",{staticClass:"language-bash line-numbers-mode"},[s("pre",{pre:!0,attrs:{class:"language-bash"}},[s("code",[s("span",{pre:!0,attrs:{class:"token function"}},[a._v("yarn")]),a._v(" "),s("span",{pre:!0,attrs:{class:"token function"}},[a._v("install")]),a._v("\n")])]),a._v(" "),s("div",{staticClass:"line-numbers-wrapper"},[s("span",{staticClass:"line-number"},[a._v("1")]),s("br")])]),s("h2",{attrs:{id:"启动本地开发环境-自带热启动"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#启动本地开发环境-自带热启动"}},[a._v("#")]),a._v(" 启动本地开发环境（自带热启动）")]),a._v(" "),s("div",{staticClass:"language-bash line-numbers-mode"},[s("pre",{pre:!0,attrs:{class:"language-bash"}},[s("code",[s("span",{pre:!0,attrs:{class:"token function"}},[a._v("yarn")]),a._v(" serve\n")])]),a._v(" "),s("div",{staticClass:"line-numbers-wrapper"},[s("span",{staticClass:"line-number"},[a._v("1")]),s("br")])]),s("h2",{attrs:{id:"构建生产环境-自带压缩"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#构建生产环境-自带压缩"}},[a._v("#")]),a._v(" 构建生产环境 (自带压缩)")]),a._v(" "),s("div",{staticClass:"language-bash line-numbers-mode"},[s("pre",{pre:!0,attrs:{class:"language-bash"}},[s("code",[s("span",{pre:!0,attrs:{class:"token function"}},[a._v("yarn")]),a._v(" build:prod\n")])]),a._v(" "),s("div",{staticClass:"line-numbers-wrapper"},[s("span",{staticClass:"line-number"},[a._v("1")]),s("br")])]),s("h2",{attrs:{id:"构建阶段性生产环境-自带压缩"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#构建阶段性生产环境-自带压缩"}},[a._v("#")]),a._v(" 构建阶段性生产环境 (自带压缩)")]),a._v(" "),s("div",{staticClass:"language-bash line-numbers-mode"},[s("pre",{pre:!0,attrs:{class:"language-bash"}},[s("code",[s("span",{pre:!0,attrs:{class:"token function"}},[a._v("yarn")]),a._v(" build:stage\n")])]),a._v(" "),s("div",{staticClass:"line-numbers-wrapper"},[s("span",{staticClass:"line-number"},[a._v("1")]),s("br")])]),s("h2",{attrs:{id:"代码格式检查以及自动修复"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#代码格式检查以及自动修复"}},[a._v("#")]),a._v(" 代码格式检查以及自动修复")]),a._v(" "),s("div",{staticClass:"language-bash line-numbers-mode"},[s("pre",{pre:!0,attrs:{class:"language-bash"}},[s("code",[s("span",{pre:!0,attrs:{class:"token function"}},[a._v("yarn")]),a._v(" lint\n")])]),a._v(" "),s("div",{staticClass:"line-numbers-wrapper"},[s("span",{staticClass:"line-number"},[a._v("1")]),s("br")])]),s("h2",{attrs:{id:"运行单元测试"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#运行单元测试"}},[a._v("#")]),a._v(" 运行单元测试")]),a._v(" "),s("div",{staticClass:"language-bash line-numbers-mode"},[s("pre",{pre:!0,attrs:{class:"language-bash"}},[s("code",[s("span",{pre:!0,attrs:{class:"token function"}},[a._v("yarn")]),a._v(" test:unit\n")])]),a._v(" "),s("div",{staticClass:"line-numbers-wrapper"},[s("span",{staticClass:"line-number"},[a._v("1")]),s("br")])]),s("h2",{attrs:{id:"运行端对端测试"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#运行端对端测试"}},[a._v("#")]),a._v(" 运行端对端测试")]),a._v(" "),s("div",{staticClass:"language-bash line-numbers-mode"},[s("pre",{pre:!0,attrs:{class:"language-bash"}},[s("code",[s("span",{pre:!0,attrs:{class:"token function"}},[a._v("yarn")]),a._v(" test:e2e\n")])]),a._v(" "),s("div",{staticClass:"line-numbers-wrapper"},[s("span",{staticClass:"line-number"},[a._v("1")]),s("br")])]),s("h2",{attrs:{id:"自动生成-svg-组件"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#自动生成-svg-组件"}},[a._v("#")]),a._v(" 自动生成 svg 组件")]),a._v(" "),s("div",{staticClass:"language-bash line-numbers-mode"},[s("pre",{pre:!0,attrs:{class:"language-bash"}},[s("code",[s("span",{pre:!0,attrs:{class:"token function"}},[a._v("yarn")]),a._v(" run svg\n")])]),a._v(" "),s("div",{staticClass:"line-numbers-wrapper"},[s("span",{staticClass:"line-number"},[a._v("1")]),s("br")])]),s("h2",{attrs:{id:"自定义-vue-配置"}},[s("a",{staticClass:"header-anchor",attrs:{href:"#自定义-vue-配置"}},[a._v("#")]),a._v(" 自定义 Vue 配置")]),a._v(" "),s("p",[a._v("请看 "),s("a",{attrs:{href:"https://cli.vuejs.org/config/",target:"_blank",rel:"noopener noreferrer"}},[a._v("Configuration Reference"),s("OutboundLink")],1),a._v(".")])])}),[],!1,null,null,null);s.default=r.exports}}]);