vue.config.js文件--vue-cli3用来配置webpack

  • 大体的结构
  • 具体细节
  • 大体结构
  • 具体细节
    • 功能快捷键
    • 合理的创建标题,有助于目录的生成
    • 如何改变文本的样式
    • 插入链接与图片
    • 如何插入一段漂亮的代码片
    • 生成一个适合你的列表
    • 创建一个表格
      • 设定内容居中、居左、居右
      • SmartyPants
    • 创建一个自定义列表
    • 如何创建一个注脚
    • 注释也是必不可少的
    • KaTeX数学公式
    • 新的甘特图功能,丰富你的文章
    • UML 图表
    • FLowchart流程图
    • 导出与导入
      • 导出
      • 导入

大体的结构

具体细节

大体结构

const path = require(“path”);
const 插件变量名 = require(‘xxx插件’);
定义一些可能会用的变量

module.exports = {
publicPath: ‘/’, //表示基本路径,baseUrl从vueCli3开始被弃用,要使用publicPath
devServer:{
…webpack-dev-server的相关配置…
open: true, //自动打开浏览器
host:‘0.0.0.0’, //设置为0.0.0.0后所有地址都可以访问
https: false,
hotOnly: false,
proxy:{
‘/xxx’: {
target: ‘’,
changeOrigin: true, //允许跨域
ws:true, //要代理websocket,
pathRewrite: {
‘^/xxx’: ‘’
}
}
}
},
//是否在构建生产包时生成sourceMap文件,false将提高构建速度
productionSourceMap: false,
//默认情况下,生成的静态资源的文件名会包含hash以便更好地控制缓存,通过设置为false关闭哈希,让原来的文件名保持不变
filenameHashing: true,
lintOnSave: false, //保存代码时关闭eslint检测
chainWebpack: config => {
…用来维护vue-cli内部的webpack配置,可以定义具名的loader规则和具名的插件
},
configureWebpack: config =>{
…该对象会被webpack-merge合入webpack的最终配置
…如果要基于环境修改配置或者直接修改配置,那就写成一个函数,该方法的第一个参数是已经解析好的配置,在函数内可以直接修改。
if(process.env.NODE_ENV === ''production"){
//给生产环境修改配置
}else{
//给开发环境修改配置
}
}
}

具体细节

我们对Markdown编辑器进行了一些功能拓展与语法支持,除了标准的Markdown编辑器功能,我们增加了如下几点新功能,帮助你用它写博客:

  1. 全新的界面设计 ,将会带来全新的写作体验;
  2. 在创作中心设置你喜爱的代码高亮样式,Markdown 将代码片显示选择的高亮样式 进行展示;
  3. 增加了 图片拖拽 功能,你可以将本地的图片直接拖拽到编辑区域直接展示;
  4. 全新的 KaTeX数学公式 语法;
  5. 增加了支持甘特图的mermaid语法1 功能;
  6. 增加了 多屏幕编辑 Markdown文章功能;
  7. 增加了 焦点写作模式、预览模式、简洁写作模式、左右区域同步滚轮设置 等功能,功能按钮位于编辑区域与预览区域中间;
  8. 增加了 检查列表 功能。

功能快捷键

撤销:Ctrl/Command + Z
重做:Ctrl/Command + Y
加粗:Ctrl/Command + B
斜体:Ctrl/Command + I
标题:Ctrl/Command + Shift + H
无序列表:Ctrl/Command + Shift + U
有序列表:Ctrl/Command + Shift + O
检查列表:Ctrl/Command + Shift + C
插入代码:Ctrl/Command + Shift + K
插入链接:Ctrl/Command + Shift + L
插入图片:Ctrl/Command + Shift + G
查找:Ctrl/Command + F
替换:Ctrl/Command + G

合理的创建标题,有助于目录的生成

直接输入1次#,并按下space后,将生成1级标题。
输入2次#,并按下space后,将生成2级标题。
以此类推,我们支持6级标题。有助于使用TOC语法后生成一个完美的目录。

如何改变文本的样式

强调文本 强调文本

加粗文本 加粗文本

标记文本

删除文本

引用文本

H2O is是液体。

210 运算结果是 1024.

插入链接与图片

链接: link.

图片:

带尺寸的图片:

居中的图片:

居中并且带尺寸的图片:

当然,我们为了让用户更加便捷,我们增加了图片拖拽功能。

如何插入一段漂亮的代码片

去博客设置页面,选择一款你喜欢的代码片高亮样式,下面展示同样高亮的 代码片.

// An highlighted block
var foo = 'bar';

生成一个适合你的列表

  • 项目

    • 项目

      • 项目
  1. 项目1
  2. 项目2
  3. 项目3
  • 计划任务
  • 完成任务

创建一个表格

一个简单的表格是这么创建的:

项目 Value
电脑 $1600
手机 $12
导管 $1

设定内容居中、居左、居右

使用:---------:居中
使用:----------居左
使用----------:居右

第一列 第二列 第三列
第一列文本居中 第二列文本居右 第三列文本居左

SmartyPants

SmartyPants将ASCII标点字符转换为“智能”印刷标点HTML实体。例如:

TYPE ASCII HTML
Single backticks 'Isn't this fun?' ‘Isn’t this fun?’
Quotes "Isn't this fun?" “Isn’t this fun?”
Dashes -- is en-dash, --- is em-dash – is en-dash, — is em-dash

创建一个自定义列表

Markdown
Text-to-HTML conversion tool
Authors
John
Luke

如何创建一个注脚

一个具有注脚的文本。2

注释也是必不可少的

Markdown将文本转换为 HTML

KaTeX数学公式

您可以使用渲染LaTeX数学表达式 KaTeX:

Gamma公式展示 Γ(n)=(n−1)!∀n∈N\Gamma(n) = (n-1)!\quad\forall n\in\mathbb NΓ(n)=(n−1)!∀n∈N 是通过欧拉积分

Γ(z)=∫0∞tz−1e−tdt.\Gamma(z) = \int_0^\infty t^{z-1}e^{-t}dt\,. Γ(z)=∫0∞​tz−1e−tdt.

你可以找到更多关于的信息 LaTeX 数学表达式here.

新的甘特图功能,丰富你的文章

Mon 06Mon 13Mon 20已完成 进行中 计划一 计划二 现有任务Adding GANTT diagram functionality to mermaid
  • 关于 甘特图 语法,参考 这儿,

UML 图表

可以使用UML图表进行渲染。 Mermaid. 例如下面产生的一个序列图:

#mermaid-svg-CqMIjxg3oGhX7iT6 .label{font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family);fill:#333;color:#333}#mermaid-svg-CqMIjxg3oGhX7iT6 .label text{fill:#333}#mermaid-svg-CqMIjxg3oGhX7iT6 .node rect,#mermaid-svg-CqMIjxg3oGhX7iT6 .node circle,#mermaid-svg-CqMIjxg3oGhX7iT6 .node ellipse,#mermaid-svg-CqMIjxg3oGhX7iT6 .node polygon,#mermaid-svg-CqMIjxg3oGhX7iT6 .node path{fill:#ECECFF;stroke:#9370db;stroke-width:1px}#mermaid-svg-CqMIjxg3oGhX7iT6 .node .label{text-align:center;fill:#333}#mermaid-svg-CqMIjxg3oGhX7iT6 .node.clickable{cursor:pointer}#mermaid-svg-CqMIjxg3oGhX7iT6 .arrowheadPath{fill:#333}#mermaid-svg-CqMIjxg3oGhX7iT6 .edgePath .path{stroke:#333;stroke-width:1.5px}#mermaid-svg-CqMIjxg3oGhX7iT6 .flowchart-link{stroke:#333;fill:none}#mermaid-svg-CqMIjxg3oGhX7iT6 .edgeLabel{background-color:#e8e8e8;text-align:center}#mermaid-svg-CqMIjxg3oGhX7iT6 .edgeLabel rect{opacity:0.9}#mermaid-svg-CqMIjxg3oGhX7iT6 .edgeLabel span{color:#333}#mermaid-svg-CqMIjxg3oGhX7iT6 .cluster rect{fill:#ffffde;stroke:#aa3;stroke-width:1px}#mermaid-svg-CqMIjxg3oGhX7iT6 .cluster text{fill:#333}#mermaid-svg-CqMIjxg3oGhX7iT6 div.mermaidTooltip{position:absolute;text-align:center;max-width:200px;padding:2px;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family);font-size:12px;background:#ffffde;border:1px solid #aa3;border-radius:2px;pointer-events:none;z-index:100}#mermaid-svg-CqMIjxg3oGhX7iT6 .actor{stroke:#ccf;fill:#ECECFF}#mermaid-svg-CqMIjxg3oGhX7iT6 text.actor>tspan{fill:#000;stroke:none}#mermaid-svg-CqMIjxg3oGhX7iT6 .actor-line{stroke:grey}#mermaid-svg-CqMIjxg3oGhX7iT6 .messageLine0{stroke-width:1.5;stroke-dasharray:none;stroke:#333}#mermaid-svg-CqMIjxg3oGhX7iT6 .messageLine1{stroke-width:1.5;stroke-dasharray:2, 2;stroke:#333}#mermaid-svg-CqMIjxg3oGhX7iT6 #arrowhead path{fill:#333;stroke:#333}#mermaid-svg-CqMIjxg3oGhX7iT6 .sequenceNumber{fill:#fff}#mermaid-svg-CqMIjxg3oGhX7iT6 #sequencenumber{fill:#333}#mermaid-svg-CqMIjxg3oGhX7iT6 #crosshead path{fill:#333;stroke:#333}#mermaid-svg-CqMIjxg3oGhX7iT6 .messageText{fill:#333;stroke:#333}#mermaid-svg-CqMIjxg3oGhX7iT6 .labelBox{stroke:#ccf;fill:#ECECFF}#mermaid-svg-CqMIjxg3oGhX7iT6 .labelText,#mermaid-svg-CqMIjxg3oGhX7iT6 .labelText>tspan{fill:#000;stroke:none}#mermaid-svg-CqMIjxg3oGhX7iT6 .loopText,#mermaid-svg-CqMIjxg3oGhX7iT6 .loopText>tspan{fill:#000;stroke:none}#mermaid-svg-CqMIjxg3oGhX7iT6 .loopLine{stroke-width:2px;stroke-dasharray:2, 2;stroke:#ccf;fill:#ccf}#mermaid-svg-CqMIjxg3oGhX7iT6 .note{stroke:#aa3;fill:#fff5ad}#mermaid-svg-CqMIjxg3oGhX7iT6 .noteText,#mermaid-svg-CqMIjxg3oGhX7iT6 .noteText>tspan{fill:#000;stroke:none}#mermaid-svg-CqMIjxg3oGhX7iT6 .activation0{fill:#f4f4f4;stroke:#666}#mermaid-svg-CqMIjxg3oGhX7iT6 .activation1{fill:#f4f4f4;stroke:#666}#mermaid-svg-CqMIjxg3oGhX7iT6 .activation2{fill:#f4f4f4;stroke:#666}#mermaid-svg-CqMIjxg3oGhX7iT6 .mermaid-main-font{font-family:"trebuchet ms", verdana, arial;font-family:var(--mermaid-font-family)}#mermaid-svg-CqMIjxg3oGhX7iT6 .section{stroke:none;opacity:0.2}#mermaid-svg-CqMIjxg3oGhX7iT6 .section0{fill:rgba(102,102,255,0.49)}#mermaid-svg-CqMIjxg3oGhX7iT6 .section2{fill:#fff400}#mermaid-svg-CqMIjxg3oGhX7iT6 .section1,#mermaid-svg-CqMIjxg3oGhX7iT6 .section3{fill:#fff;opacity:0.2}#mermaid-svg-CqMIjxg3oGhX7iT6 .sectionTitle0{fill:#333}#mermaid-svg-CqMIjxg3oGhX7iT6 .sectionTitle1{fill:#333}#mermaid-svg-CqMIjxg3oGhX7iT6 .sectionTitle2{fill:#333}#mermaid-svg-CqMIjxg3oGhX7iT6 .sectionTitle3{fill:#333}#mermaid-svg-CqMIjxg3oGhX7iT6 .sectionTitle{text-anchor:start;font-size:11px;text-height:14px;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}#mermaid-svg-CqMIjxg3oGhX7iT6 .grid .tick{stroke:#d3d3d3;opacity:0.8;shape-rendering:crispEdges}#mermaid-svg-CqMIjxg3oGhX7iT6 .grid .tick text{font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}#mermaid-svg-CqMIjxg3oGhX7iT6 .grid path{stroke-width:0}#mermaid-svg-CqMIjxg3oGhX7iT6 .today{fill:none;stroke:red;stroke-width:2px}#mermaid-svg-CqMIjxg3oGhX7iT6 .task{stroke-width:2}#mermaid-svg-CqMIjxg3oGhX7iT6 .taskText{text-anchor:middle;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}#mermaid-svg-CqMIjxg3oGhX7iT6 .taskText:not([font-size]){font-size:11px}#mermaid-svg-CqMIjxg3oGhX7iT6 .taskTextOutsideRight{fill:#000;text-anchor:start;font-size:11px;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}#mermaid-svg-CqMIjxg3oGhX7iT6 .taskTextOutsideLeft{fill:#000;text-anchor:end;font-size:11px}#mermaid-svg-CqMIjxg3oGhX7iT6 .task.clickable{cursor:pointer}#mermaid-svg-CqMIjxg3oGhX7iT6 .taskText.clickable{cursor:pointer;fill:#003163 !important;font-weight:bold}#mermaid-svg-CqMIjxg3oGhX7iT6 .taskTextOutsideLeft.clickable{cursor:pointer;fill:#003163 !important;font-weight:bold}#mermaid-svg-CqMIjxg3oGhX7iT6 .taskTextOutsideRight.clickable{cursor:pointer;fill:#003163 !important;font-weight:bold}#mermaid-svg-CqMIjxg3oGhX7iT6 .taskText0,#mermaid-svg-CqMIjxg3oGhX7iT6 .taskText1,#mermaid-svg-CqMIjxg3oGhX7iT6 .taskText2,#mermaid-svg-CqMIjxg3oGhX7iT6 .taskText3{fill:#fff}#mermaid-svg-CqMIjxg3oGhX7iT6 .task0,#mermaid-svg-CqMIjxg3oGhX7iT6 .task1,#mermaid-svg-CqMIjxg3oGhX7iT6 .task2,#mermaid-svg-CqMIjxg3oGhX7iT6 .task3{fill:#8a90dd;stroke:#534fbc}#mermaid-svg-CqMIjxg3oGhX7iT6 .taskTextOutside0,#mermaid-svg-CqMIjxg3oGhX7iT6 .taskTextOutside2{fill:#000}#mermaid-svg-CqMIjxg3oGhX7iT6 .taskTextOutside1,#mermaid-svg-CqMIjxg3oGhX7iT6 .taskTextOutside3{fill:#000}#mermaid-svg-CqMIjxg3oGhX7iT6 .active0,#mermaid-svg-CqMIjxg3oGhX7iT6 .active1,#mermaid-svg-CqMIjxg3oGhX7iT6 .active2,#mermaid-svg-CqMIjxg3oGhX7iT6 .active3{fill:#bfc7ff;stroke:#534fbc}#mermaid-svg-CqMIjxg3oGhX7iT6 .activeText0,#mermaid-svg-CqMIjxg3oGhX7iT6 .activeText1,#mermaid-svg-CqMIjxg3oGhX7iT6 .activeText2,#mermaid-svg-CqMIjxg3oGhX7iT6 .activeText3{fill:#000 !important}#mermaid-svg-CqMIjxg3oGhX7iT6 .done0,#mermaid-svg-CqMIjxg3oGhX7iT6 .done1,#mermaid-svg-CqMIjxg3oGhX7iT6 .done2,#mermaid-svg-CqMIjxg3oGhX7iT6 .done3{stroke:grey;fill:#d3d3d3;stroke-width:2}#mermaid-svg-CqMIjxg3oGhX7iT6 .doneText0,#mermaid-svg-CqMIjxg3oGhX7iT6 .doneText1,#mermaid-svg-CqMIjxg3oGhX7iT6 .doneText2,#mermaid-svg-CqMIjxg3oGhX7iT6 .doneText3{fill:#000 !important}#mermaid-svg-CqMIjxg3oGhX7iT6 .crit0,#mermaid-svg-CqMIjxg3oGhX7iT6 .crit1,#mermaid-svg-CqMIjxg3oGhX7iT6 .crit2,#mermaid-svg-CqMIjxg3oGhX7iT6 .crit3{stroke:#f88;fill:red;stroke-width:2}#mermaid-svg-CqMIjxg3oGhX7iT6 .activeCrit0,#mermaid-svg-CqMIjxg3oGhX7iT6 .activeCrit1,#mermaid-svg-CqMIjxg3oGhX7iT6 .activeCrit2,#mermaid-svg-CqMIjxg3oGhX7iT6 .activeCrit3{stroke:#f88;fill:#bfc7ff;stroke-width:2}#mermaid-svg-CqMIjxg3oGhX7iT6 .doneCrit0,#mermaid-svg-CqMIjxg3oGhX7iT6 .doneCrit1,#mermaid-svg-CqMIjxg3oGhX7iT6 .doneCrit2,#mermaid-svg-CqMIjxg3oGhX7iT6 .doneCrit3{stroke:#f88;fill:#d3d3d3;stroke-width:2;cursor:pointer;shape-rendering:crispEdges}#mermaid-svg-CqMIjxg3oGhX7iT6 .milestone{transform:rotate(45deg) scale(0.8, 0.8)}#mermaid-svg-CqMIjxg3oGhX7iT6 .milestoneText{font-style:italic}#mermaid-svg-CqMIjxg3oGhX7iT6 .doneCritText0,#mermaid-svg-CqMIjxg3oGhX7iT6 .doneCritText1,#mermaid-svg-CqMIjxg3oGhX7iT6 .doneCritText2,#mermaid-svg-CqMIjxg3oGhX7iT6 .doneCritText3{fill:#000 !important}#mermaid-svg-CqMIjxg3oGhX7iT6 .activeCritText0,#mermaid-svg-CqMIjxg3oGhX7iT6 .activeCritText1,#mermaid-svg-CqMIjxg3oGhX7iT6 .activeCritText2,#mermaid-svg-CqMIjxg3oGhX7iT6 .activeCritText3{fill:#000 !important}#mermaid-svg-CqMIjxg3oGhX7iT6 .titleText{text-anchor:middle;font-size:18px;fill:#000;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}#mermaid-svg-CqMIjxg3oGhX7iT6 g.classGroup text{fill:#9370db;stroke:none;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family);font-size:10px}#mermaid-svg-CqMIjxg3oGhX7iT6 g.classGroup text .title{font-weight:bolder}#mermaid-svg-CqMIjxg3oGhX7iT6 g.clickable{cursor:pointer}#mermaid-svg-CqMIjxg3oGhX7iT6 g.classGroup rect{fill:#ECECFF;stroke:#9370db}#mermaid-svg-CqMIjxg3oGhX7iT6 g.classGroup line{stroke:#9370db;stroke-width:1}#mermaid-svg-CqMIjxg3oGhX7iT6 .classLabel .box{stroke:none;stroke-width:0;fill:#ECECFF;opacity:0.5}#mermaid-svg-CqMIjxg3oGhX7iT6 .classLabel .label{fill:#9370db;font-size:10px}#mermaid-svg-CqMIjxg3oGhX7iT6 .relation{stroke:#9370db;stroke-width:1;fill:none}#mermaid-svg-CqMIjxg3oGhX7iT6 .dashed-line{stroke-dasharray:3}#mermaid-svg-CqMIjxg3oGhX7iT6 #compositionStart{fill:#9370db;stroke:#9370db;stroke-width:1}#mermaid-svg-CqMIjxg3oGhX7iT6 #compositionEnd{fill:#9370db;stroke:#9370db;stroke-width:1}#mermaid-svg-CqMIjxg3oGhX7iT6 #aggregationStart{fill:#ECECFF;stroke:#9370db;stroke-width:1}#mermaid-svg-CqMIjxg3oGhX7iT6 #aggregationEnd{fill:#ECECFF;stroke:#9370db;stroke-width:1}#mermaid-svg-CqMIjxg3oGhX7iT6 #dependencyStart{fill:#9370db;stroke:#9370db;stroke-width:1}#mermaid-svg-CqMIjxg3oGhX7iT6 #dependencyEnd{fill:#9370db;stroke:#9370db;stroke-width:1}#mermaid-svg-CqMIjxg3oGhX7iT6 #extensionStart{fill:#9370db;stroke:#9370db;stroke-width:1}#mermaid-svg-CqMIjxg3oGhX7iT6 #extensionEnd{fill:#9370db;stroke:#9370db;stroke-width:1}#mermaid-svg-CqMIjxg3oGhX7iT6 .commit-id,#mermaid-svg-CqMIjxg3oGhX7iT6 .commit-msg,#mermaid-svg-CqMIjxg3oGhX7iT6 .branch-label{fill:lightgrey;color:lightgrey;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}#mermaid-svg-CqMIjxg3oGhX7iT6 .pieTitleText{text-anchor:middle;font-size:25px;fill:#000;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}#mermaid-svg-CqMIjxg3oGhX7iT6 .slice{font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}#mermaid-svg-CqMIjxg3oGhX7iT6 g.stateGroup text{fill:#9370db;stroke:none;font-size:10px;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}#mermaid-svg-CqMIjxg3oGhX7iT6 g.stateGroup text{fill:#9370db;fill:#333;stroke:none;font-size:10px}#mermaid-svg-CqMIjxg3oGhX7iT6 g.statediagram-cluster .cluster-label text{fill:#333}#mermaid-svg-CqMIjxg3oGhX7iT6 g.stateGroup .state-title{font-weight:bolder;fill:#000}#mermaid-svg-CqMIjxg3oGhX7iT6 g.stateGroup rect{fill:#ECECFF;stroke:#9370db}#mermaid-svg-CqMIjxg3oGhX7iT6 g.stateGroup line{stroke:#9370db;stroke-width:1}#mermaid-svg-CqMIjxg3oGhX7iT6 .transition{stroke:#9370db;stroke-width:1;fill:none}#mermaid-svg-CqMIjxg3oGhX7iT6 .stateGroup .composit{fill:white;border-bottom:1px}#mermaid-svg-CqMIjxg3oGhX7iT6 .stateGroup .alt-composit{fill:#e0e0e0;border-bottom:1px}#mermaid-svg-CqMIjxg3oGhX7iT6 .state-note{stroke:#aa3;fill:#fff5ad}#mermaid-svg-CqMIjxg3oGhX7iT6 .state-note text{fill:black;stroke:none;font-size:10px}#mermaid-svg-CqMIjxg3oGhX7iT6 .stateLabel .box{stroke:none;stroke-width:0;fill:#ECECFF;opacity:0.7}#mermaid-svg-CqMIjxg3oGhX7iT6 .edgeLabel text{fill:#333}#mermaid-svg-CqMIjxg3oGhX7iT6 .stateLabel text{fill:#000;font-size:10px;font-weight:bold;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}#mermaid-svg-CqMIjxg3oGhX7iT6 .node circle.state-start{fill:black;stroke:black}#mermaid-svg-CqMIjxg3oGhX7iT6 .node circle.state-end{fill:black;stroke:white;stroke-width:1.5}#mermaid-svg-CqMIjxg3oGhX7iT6 #statediagram-barbEnd{fill:#9370db}#mermaid-svg-CqMIjxg3oGhX7iT6 .statediagram-cluster rect{fill:#ECECFF;stroke:#9370db;stroke-width:1px}#mermaid-svg-CqMIjxg3oGhX7iT6 .statediagram-cluster rect.outer{rx:5px;ry:5px}#mermaid-svg-CqMIjxg3oGhX7iT6 .statediagram-state .divider{stroke:#9370db}#mermaid-svg-CqMIjxg3oGhX7iT6 .statediagram-state .title-state{rx:5px;ry:5px}#mermaid-svg-CqMIjxg3oGhX7iT6 .statediagram-cluster.statediagram-cluster .inner{fill:white}#mermaid-svg-CqMIjxg3oGhX7iT6 .statediagram-cluster.statediagram-cluster-alt .inner{fill:#e0e0e0}#mermaid-svg-CqMIjxg3oGhX7iT6 .statediagram-cluster .inner{rx:0;ry:0}#mermaid-svg-CqMIjxg3oGhX7iT6 .statediagram-state rect.basic{rx:5px;ry:5px}#mermaid-svg-CqMIjxg3oGhX7iT6 .statediagram-state rect.divider{stroke-dasharray:10,10;fill:#efefef}#mermaid-svg-CqMIjxg3oGhX7iT6 .note-edge{stroke-dasharray:5}#mermaid-svg-CqMIjxg3oGhX7iT6 .statediagram-note rect{fill:#fff5ad;stroke:#aa3;stroke-width:1px;rx:0;ry:0}:root{--mermaid-font-family: '"trebuchet ms", verdana, arial';--mermaid-font-family: "Comic Sans MS", "Comic Sans", cursive}#mermaid-svg-CqMIjxg3oGhX7iT6 .error-icon{fill:#522}#mermaid-svg-CqMIjxg3oGhX7iT6 .error-text{fill:#522;stroke:#522}#mermaid-svg-CqMIjxg3oGhX7iT6 .edge-thickness-normal{stroke-width:2px}#mermaid-svg-CqMIjxg3oGhX7iT6 .edge-thickness-thick{stroke-width:3.5px}#mermaid-svg-CqMIjxg3oGhX7iT6 .edge-pattern-solid{stroke-dasharray:0}#mermaid-svg-CqMIjxg3oGhX7iT6 .edge-pattern-dashed{stroke-dasharray:3}#mermaid-svg-CqMIjxg3oGhX7iT6 .edge-pattern-dotted{stroke-dasharray:2}#mermaid-svg-CqMIjxg3oGhX7iT6 .marker{fill:#333}#mermaid-svg-CqMIjxg3oGhX7iT6 .marker.cross{stroke:#333}:root { --mermaid-font-family: "trebuchet ms", verdana, arial;}#mermaid-svg-CqMIjxg3oGhX7iT6 {color: rgba(0, 0, 0, 0.75);font: ;}张三李四王五你好!李四, 最近怎么样?你最近怎么样,王五?我很好,谢谢!我很好,谢谢!李四想了很长时间, 文字太长了不适合放在一行.打量着王五...很好... 王五, 你怎么样?张三李四王五

这将产生一个流程图。:

#mermaid-svg-3RCvchM1o5t2qyng .label{font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family);fill:#333;color:#333}#mermaid-svg-3RCvchM1o5t2qyng .label text{fill:#333}#mermaid-svg-3RCvchM1o5t2qyng .node rect,#mermaid-svg-3RCvchM1o5t2qyng .node circle,#mermaid-svg-3RCvchM1o5t2qyng .node ellipse,#mermaid-svg-3RCvchM1o5t2qyng .node polygon,#mermaid-svg-3RCvchM1o5t2qyng .node path{fill:#ECECFF;stroke:#9370db;stroke-width:1px}#mermaid-svg-3RCvchM1o5t2qyng .node .label{text-align:center;fill:#333}#mermaid-svg-3RCvchM1o5t2qyng .node.clickable{cursor:pointer}#mermaid-svg-3RCvchM1o5t2qyng .arrowheadPath{fill:#333}#mermaid-svg-3RCvchM1o5t2qyng .edgePath .path{stroke:#333;stroke-width:1.5px}#mermaid-svg-3RCvchM1o5t2qyng .flowchart-link{stroke:#333;fill:none}#mermaid-svg-3RCvchM1o5t2qyng .edgeLabel{background-color:#e8e8e8;text-align:center}#mermaid-svg-3RCvchM1o5t2qyng .edgeLabel rect{opacity:0.9}#mermaid-svg-3RCvchM1o5t2qyng .edgeLabel span{color:#333}#mermaid-svg-3RCvchM1o5t2qyng .cluster rect{fill:#ffffde;stroke:#aa3;stroke-width:1px}#mermaid-svg-3RCvchM1o5t2qyng .cluster text{fill:#333}#mermaid-svg-3RCvchM1o5t2qyng div.mermaidTooltip{position:absolute;text-align:center;max-width:200px;padding:2px;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family);font-size:12px;background:#ffffde;border:1px solid #aa3;border-radius:2px;pointer-events:none;z-index:100}#mermaid-svg-3RCvchM1o5t2qyng .actor{stroke:#ccf;fill:#ECECFF}#mermaid-svg-3RCvchM1o5t2qyng text.actor>tspan{fill:#000;stroke:none}#mermaid-svg-3RCvchM1o5t2qyng .actor-line{stroke:grey}#mermaid-svg-3RCvchM1o5t2qyng .messageLine0{stroke-width:1.5;stroke-dasharray:none;stroke:#333}#mermaid-svg-3RCvchM1o5t2qyng .messageLine1{stroke-width:1.5;stroke-dasharray:2, 2;stroke:#333}#mermaid-svg-3RCvchM1o5t2qyng #arrowhead path{fill:#333;stroke:#333}#mermaid-svg-3RCvchM1o5t2qyng .sequenceNumber{fill:#fff}#mermaid-svg-3RCvchM1o5t2qyng #sequencenumber{fill:#333}#mermaid-svg-3RCvchM1o5t2qyng #crosshead path{fill:#333;stroke:#333}#mermaid-svg-3RCvchM1o5t2qyng .messageText{fill:#333;stroke:#333}#mermaid-svg-3RCvchM1o5t2qyng .labelBox{stroke:#ccf;fill:#ECECFF}#mermaid-svg-3RCvchM1o5t2qyng .labelText,#mermaid-svg-3RCvchM1o5t2qyng .labelText>tspan{fill:#000;stroke:none}#mermaid-svg-3RCvchM1o5t2qyng .loopText,#mermaid-svg-3RCvchM1o5t2qyng .loopText>tspan{fill:#000;stroke:none}#mermaid-svg-3RCvchM1o5t2qyng .loopLine{stroke-width:2px;stroke-dasharray:2, 2;stroke:#ccf;fill:#ccf}#mermaid-svg-3RCvchM1o5t2qyng .note{stroke:#aa3;fill:#fff5ad}#mermaid-svg-3RCvchM1o5t2qyng .noteText,#mermaid-svg-3RCvchM1o5t2qyng .noteText>tspan{fill:#000;stroke:none}#mermaid-svg-3RCvchM1o5t2qyng .activation0{fill:#f4f4f4;stroke:#666}#mermaid-svg-3RCvchM1o5t2qyng .activation1{fill:#f4f4f4;stroke:#666}#mermaid-svg-3RCvchM1o5t2qyng .activation2{fill:#f4f4f4;stroke:#666}#mermaid-svg-3RCvchM1o5t2qyng .mermaid-main-font{font-family:"trebuchet ms", verdana, arial;font-family:var(--mermaid-font-family)}#mermaid-svg-3RCvchM1o5t2qyng .section{stroke:none;opacity:0.2}#mermaid-svg-3RCvchM1o5t2qyng .section0{fill:rgba(102,102,255,0.49)}#mermaid-svg-3RCvchM1o5t2qyng .section2{fill:#fff400}#mermaid-svg-3RCvchM1o5t2qyng .section1,#mermaid-svg-3RCvchM1o5t2qyng .section3{fill:#fff;opacity:0.2}#mermaid-svg-3RCvchM1o5t2qyng .sectionTitle0{fill:#333}#mermaid-svg-3RCvchM1o5t2qyng .sectionTitle1{fill:#333}#mermaid-svg-3RCvchM1o5t2qyng .sectionTitle2{fill:#333}#mermaid-svg-3RCvchM1o5t2qyng .sectionTitle3{fill:#333}#mermaid-svg-3RCvchM1o5t2qyng .sectionTitle{text-anchor:start;font-size:11px;text-height:14px;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}#mermaid-svg-3RCvchM1o5t2qyng .grid .tick{stroke:#d3d3d3;opacity:0.8;shape-rendering:crispEdges}#mermaid-svg-3RCvchM1o5t2qyng .grid .tick text{font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}#mermaid-svg-3RCvchM1o5t2qyng .grid path{stroke-width:0}#mermaid-svg-3RCvchM1o5t2qyng .today{fill:none;stroke:red;stroke-width:2px}#mermaid-svg-3RCvchM1o5t2qyng .task{stroke-width:2}#mermaid-svg-3RCvchM1o5t2qyng .taskText{text-anchor:middle;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}#mermaid-svg-3RCvchM1o5t2qyng .taskText:not([font-size]){font-size:11px}#mermaid-svg-3RCvchM1o5t2qyng .taskTextOutsideRight{fill:#000;text-anchor:start;font-size:11px;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}#mermaid-svg-3RCvchM1o5t2qyng .taskTextOutsideLeft{fill:#000;text-anchor:end;font-size:11px}#mermaid-svg-3RCvchM1o5t2qyng .task.clickable{cursor:pointer}#mermaid-svg-3RCvchM1o5t2qyng .taskText.clickable{cursor:pointer;fill:#003163 !important;font-weight:bold}#mermaid-svg-3RCvchM1o5t2qyng .taskTextOutsideLeft.clickable{cursor:pointer;fill:#003163 !important;font-weight:bold}#mermaid-svg-3RCvchM1o5t2qyng .taskTextOutsideRight.clickable{cursor:pointer;fill:#003163 !important;font-weight:bold}#mermaid-svg-3RCvchM1o5t2qyng .taskText0,#mermaid-svg-3RCvchM1o5t2qyng .taskText1,#mermaid-svg-3RCvchM1o5t2qyng .taskText2,#mermaid-svg-3RCvchM1o5t2qyng .taskText3{fill:#fff}#mermaid-svg-3RCvchM1o5t2qyng .task0,#mermaid-svg-3RCvchM1o5t2qyng .task1,#mermaid-svg-3RCvchM1o5t2qyng .task2,#mermaid-svg-3RCvchM1o5t2qyng .task3{fill:#8a90dd;stroke:#534fbc}#mermaid-svg-3RCvchM1o5t2qyng .taskTextOutside0,#mermaid-svg-3RCvchM1o5t2qyng .taskTextOutside2{fill:#000}#mermaid-svg-3RCvchM1o5t2qyng .taskTextOutside1,#mermaid-svg-3RCvchM1o5t2qyng .taskTextOutside3{fill:#000}#mermaid-svg-3RCvchM1o5t2qyng .active0,#mermaid-svg-3RCvchM1o5t2qyng .active1,#mermaid-svg-3RCvchM1o5t2qyng .active2,#mermaid-svg-3RCvchM1o5t2qyng .active3{fill:#bfc7ff;stroke:#534fbc}#mermaid-svg-3RCvchM1o5t2qyng .activeText0,#mermaid-svg-3RCvchM1o5t2qyng .activeText1,#mermaid-svg-3RCvchM1o5t2qyng .activeText2,#mermaid-svg-3RCvchM1o5t2qyng .activeText3{fill:#000 !important}#mermaid-svg-3RCvchM1o5t2qyng .done0,#mermaid-svg-3RCvchM1o5t2qyng .done1,#mermaid-svg-3RCvchM1o5t2qyng .done2,#mermaid-svg-3RCvchM1o5t2qyng .done3{stroke:grey;fill:#d3d3d3;stroke-width:2}#mermaid-svg-3RCvchM1o5t2qyng .doneText0,#mermaid-svg-3RCvchM1o5t2qyng .doneText1,#mermaid-svg-3RCvchM1o5t2qyng .doneText2,#mermaid-svg-3RCvchM1o5t2qyng .doneText3{fill:#000 !important}#mermaid-svg-3RCvchM1o5t2qyng .crit0,#mermaid-svg-3RCvchM1o5t2qyng .crit1,#mermaid-svg-3RCvchM1o5t2qyng .crit2,#mermaid-svg-3RCvchM1o5t2qyng .crit3{stroke:#f88;fill:red;stroke-width:2}#mermaid-svg-3RCvchM1o5t2qyng .activeCrit0,#mermaid-svg-3RCvchM1o5t2qyng .activeCrit1,#mermaid-svg-3RCvchM1o5t2qyng .activeCrit2,#mermaid-svg-3RCvchM1o5t2qyng .activeCrit3{stroke:#f88;fill:#bfc7ff;stroke-width:2}#mermaid-svg-3RCvchM1o5t2qyng .doneCrit0,#mermaid-svg-3RCvchM1o5t2qyng .doneCrit1,#mermaid-svg-3RCvchM1o5t2qyng .doneCrit2,#mermaid-svg-3RCvchM1o5t2qyng .doneCrit3{stroke:#f88;fill:#d3d3d3;stroke-width:2;cursor:pointer;shape-rendering:crispEdges}#mermaid-svg-3RCvchM1o5t2qyng .milestone{transform:rotate(45deg) scale(0.8, 0.8)}#mermaid-svg-3RCvchM1o5t2qyng .milestoneText{font-style:italic}#mermaid-svg-3RCvchM1o5t2qyng .doneCritText0,#mermaid-svg-3RCvchM1o5t2qyng .doneCritText1,#mermaid-svg-3RCvchM1o5t2qyng .doneCritText2,#mermaid-svg-3RCvchM1o5t2qyng .doneCritText3{fill:#000 !important}#mermaid-svg-3RCvchM1o5t2qyng .activeCritText0,#mermaid-svg-3RCvchM1o5t2qyng .activeCritText1,#mermaid-svg-3RCvchM1o5t2qyng .activeCritText2,#mermaid-svg-3RCvchM1o5t2qyng .activeCritText3{fill:#000 !important}#mermaid-svg-3RCvchM1o5t2qyng .titleText{text-anchor:middle;font-size:18px;fill:#000;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}#mermaid-svg-3RCvchM1o5t2qyng g.classGroup text{fill:#9370db;stroke:none;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family);font-size:10px}#mermaid-svg-3RCvchM1o5t2qyng g.classGroup text .title{font-weight:bolder}#mermaid-svg-3RCvchM1o5t2qyng g.clickable{cursor:pointer}#mermaid-svg-3RCvchM1o5t2qyng g.classGroup rect{fill:#ECECFF;stroke:#9370db}#mermaid-svg-3RCvchM1o5t2qyng g.classGroup line{stroke:#9370db;stroke-width:1}#mermaid-svg-3RCvchM1o5t2qyng .classLabel .box{stroke:none;stroke-width:0;fill:#ECECFF;opacity:0.5}#mermaid-svg-3RCvchM1o5t2qyng .classLabel .label{fill:#9370db;font-size:10px}#mermaid-svg-3RCvchM1o5t2qyng .relation{stroke:#9370db;stroke-width:1;fill:none}#mermaid-svg-3RCvchM1o5t2qyng .dashed-line{stroke-dasharray:3}#mermaid-svg-3RCvchM1o5t2qyng #compositionStart{fill:#9370db;stroke:#9370db;stroke-width:1}#mermaid-svg-3RCvchM1o5t2qyng #compositionEnd{fill:#9370db;stroke:#9370db;stroke-width:1}#mermaid-svg-3RCvchM1o5t2qyng #aggregationStart{fill:#ECECFF;stroke:#9370db;stroke-width:1}#mermaid-svg-3RCvchM1o5t2qyng #aggregationEnd{fill:#ECECFF;stroke:#9370db;stroke-width:1}#mermaid-svg-3RCvchM1o5t2qyng #dependencyStart{fill:#9370db;stroke:#9370db;stroke-width:1}#mermaid-svg-3RCvchM1o5t2qyng #dependencyEnd{fill:#9370db;stroke:#9370db;stroke-width:1}#mermaid-svg-3RCvchM1o5t2qyng #extensionStart{fill:#9370db;stroke:#9370db;stroke-width:1}#mermaid-svg-3RCvchM1o5t2qyng #extensionEnd{fill:#9370db;stroke:#9370db;stroke-width:1}#mermaid-svg-3RCvchM1o5t2qyng .commit-id,#mermaid-svg-3RCvchM1o5t2qyng .commit-msg,#mermaid-svg-3RCvchM1o5t2qyng .branch-label{fill:lightgrey;color:lightgrey;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}#mermaid-svg-3RCvchM1o5t2qyng .pieTitleText{text-anchor:middle;font-size:25px;fill:#000;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}#mermaid-svg-3RCvchM1o5t2qyng .slice{font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}#mermaid-svg-3RCvchM1o5t2qyng g.stateGroup text{fill:#9370db;stroke:none;font-size:10px;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}#mermaid-svg-3RCvchM1o5t2qyng g.stateGroup text{fill:#9370db;fill:#333;stroke:none;font-size:10px}#mermaid-svg-3RCvchM1o5t2qyng g.statediagram-cluster .cluster-label text{fill:#333}#mermaid-svg-3RCvchM1o5t2qyng g.stateGroup .state-title{font-weight:bolder;fill:#000}#mermaid-svg-3RCvchM1o5t2qyng g.stateGroup rect{fill:#ECECFF;stroke:#9370db}#mermaid-svg-3RCvchM1o5t2qyng g.stateGroup line{stroke:#9370db;stroke-width:1}#mermaid-svg-3RCvchM1o5t2qyng .transition{stroke:#9370db;stroke-width:1;fill:none}#mermaid-svg-3RCvchM1o5t2qyng .stateGroup .composit{fill:white;border-bottom:1px}#mermaid-svg-3RCvchM1o5t2qyng .stateGroup .alt-composit{fill:#e0e0e0;border-bottom:1px}#mermaid-svg-3RCvchM1o5t2qyng .state-note{stroke:#aa3;fill:#fff5ad}#mermaid-svg-3RCvchM1o5t2qyng .state-note text{fill:black;stroke:none;font-size:10px}#mermaid-svg-3RCvchM1o5t2qyng .stateLabel .box{stroke:none;stroke-width:0;fill:#ECECFF;opacity:0.7}#mermaid-svg-3RCvchM1o5t2qyng .edgeLabel text{fill:#333}#mermaid-svg-3RCvchM1o5t2qyng .stateLabel text{fill:#000;font-size:10px;font-weight:bold;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}#mermaid-svg-3RCvchM1o5t2qyng .node circle.state-start{fill:black;stroke:black}#mermaid-svg-3RCvchM1o5t2qyng .node circle.state-end{fill:black;stroke:white;stroke-width:1.5}#mermaid-svg-3RCvchM1o5t2qyng #statediagram-barbEnd{fill:#9370db}#mermaid-svg-3RCvchM1o5t2qyng .statediagram-cluster rect{fill:#ECECFF;stroke:#9370db;stroke-width:1px}#mermaid-svg-3RCvchM1o5t2qyng .statediagram-cluster rect.outer{rx:5px;ry:5px}#mermaid-svg-3RCvchM1o5t2qyng .statediagram-state .divider{stroke:#9370db}#mermaid-svg-3RCvchM1o5t2qyng .statediagram-state .title-state{rx:5px;ry:5px}#mermaid-svg-3RCvchM1o5t2qyng .statediagram-cluster.statediagram-cluster .inner{fill:white}#mermaid-svg-3RCvchM1o5t2qyng .statediagram-cluster.statediagram-cluster-alt .inner{fill:#e0e0e0}#mermaid-svg-3RCvchM1o5t2qyng .statediagram-cluster .inner{rx:0;ry:0}#mermaid-svg-3RCvchM1o5t2qyng .statediagram-state rect.basic{rx:5px;ry:5px}#mermaid-svg-3RCvchM1o5t2qyng .statediagram-state rect.divider{stroke-dasharray:10,10;fill:#efefef}#mermaid-svg-3RCvchM1o5t2qyng .note-edge{stroke-dasharray:5}#mermaid-svg-3RCvchM1o5t2qyng .statediagram-note rect{fill:#fff5ad;stroke:#aa3;stroke-width:1px;rx:0;ry:0}:root{--mermaid-font-family: '"trebuchet ms", verdana, arial';--mermaid-font-family: "Comic Sans MS", "Comic Sans", cursive}#mermaid-svg-3RCvchM1o5t2qyng .error-icon{fill:#522}#mermaid-svg-3RCvchM1o5t2qyng .error-text{fill:#522;stroke:#522}#mermaid-svg-3RCvchM1o5t2qyng .edge-thickness-normal{stroke-width:2px}#mermaid-svg-3RCvchM1o5t2qyng .edge-thickness-thick{stroke-width:3.5px}#mermaid-svg-3RCvchM1o5t2qyng .edge-pattern-solid{stroke-dasharray:0}#mermaid-svg-3RCvchM1o5t2qyng .edge-pattern-dashed{stroke-dasharray:3}#mermaid-svg-3RCvchM1o5t2qyng .edge-pattern-dotted{stroke-dasharray:2}#mermaid-svg-3RCvchM1o5t2qyng .marker{fill:#333}#mermaid-svg-3RCvchM1o5t2qyng .marker.cross{stroke:#333}:root { --mermaid-font-family: "trebuchet ms", verdana, arial;}#mermaid-svg-3RCvchM1o5t2qyng {color: rgba(0, 0, 0, 0.75);font: ;}

链接
长方形
圆角长方形
菱形
  • 关于 Mermaid 语法,参考 这儿,

FLowchart流程图

我们依旧会支持flowchart的流程图:

Created with Raphaël 2.2.0开始我的操作确认?结束yesno
  • 关于 Flowchart流程图 语法,参考 这儿.

导出与导入

导出

如果你想尝试使用此编辑器, 你可以在此篇文章任意编辑。当你完成了一篇文章的写作, 在上方工具栏找到 文章导出 ,生成一个.md文件或者.html文件进行本地保存。

导入

如果你想加载一篇你写过的.md文件,在上方工具栏可以选择导入功能进行对应扩展名的文件导入,
继续你的创作。


  1. mermaid语法说明 ↩︎

  2. 注脚的解释 ↩︎

vue.config.js配置说明相关推荐

  1. vue cli3.3 以上版本配置vue.config.js

    // vue.config.js 配置说明 //官方vue.config.js 参考文档 https://cli.vuejs.org/zh/config/#css-loaderoptions // 这 ...

  2. vue - vue的配置文件vue.config.js介绍

    文章目录 前言: 常用配置项如下: 常用配置项说明: 前言: 注意: 使用 vue-cli 3.x 以上的脚手架创建的 vue 项目不再有 build 文件夹,若需要进行相关配置,需在项目目录下新建文 ...

  3. vue.config.js多页配置

    vue.config.js多页配置,具体看代码: "use strict"; const path = require("path"); var webpack ...

  4. vue-cli3中的vue.config.js配置

    vue-cli3中的vue.config.js配置 我的跨域是配置通过chrome浏览器的跨域设置,前端修改跨域问题,以此解决跨域的,故没有配置代理: const path = require('pa ...

  5. Vue.js CLI4 Vue.config.js标准配置 (最全注释)

    前言: Vue.js CLI工具 不知不觉发展到了4.0时代,CLI给人最直白的感受是没有了build文件夹跟config文件夹,所有的配置都在Vue.config.js完成.那么该文件的配置至关重要 ...

  6. Vue项目开发过程中解决跨域问题(vue.config.js结合axios)

    一.问题描述 在本地开发过程中,调用后端提供的接口获取数据将获取的数据渲染到页面中,但是浏览器报错: // 控制台报错信息 Access to XMLHttpRequest at 'http://x. ...

  7. vue.config.js 配置参考

    文章目录 属性说明 常用完整配置 属性说明 vue.config.js是一个可选的配置文件,如果项目的 (和 package.json 同级的) 根目录中存在这个文件,那么它会被 @vue/cli-s ...

  8. Vue Cli3 项目 vue.config.js 配置

    Vue Cli3 项目 vue.config.js 配置 配置优化 一.js文件最小化处理 二.分割代码 三.图片资源压缩 四.开启gzip压缩 先看一下优化配置之前的文件大小 通过vue-cli3脚 ...

  9. Invalid options in vue.config.js: “baseUrl“ is not allowed

    vue3.0版本中 执行 npm run build 会出现报错 Invalid options in vue.config.js: "baseUrl" is not allowe ...

最新文章

  1. python中gil锁和线程锁_Python线程——GIL锁、线程锁(互斥锁)、递归锁(RLock)...
  2. json 是个什么东西?
  3. yii2中的rules验证规则
  4. 数据3分钟丨MariaDB将借壳上市;前融云CTO杨攀加入涛思数据;​Elastic 8.0正式发布...
  5. Axure电脑web端通用元件库rplib文件格式+移动端app通用元件库rplib文件格式(内含使用教程)
  6. Ubuntu 18.04 Server必须使用netplan命令配置IP地址
  7. pad点餐系统 内存管理的一点总结
  8. Tensorflow:操作执行原理
  9. 51nod 1106 质数检测
  10. linux 计算字符数命令,Linux WC命令示例,用于计算行数,单词数和字符数
  11. 如何克服枯燥工作带来的单调感和厌烦感
  12. java开源代码生成器_人人开源之代码生成器(renren-generator)
  13. 基于WF4的新平台-流程格式转换架构
  14. 手机测试光纤网速的软件,如何测试光纤网速?如何测试网速多少兆
  15. php 图片底色替换,手把手教你替换相片中的颜色(给相片换底色)
  16. 关于计算机的小故事英语作文,关于小故事英语作文阅读
  17. css属性百分比参照物
  18. 个人成长 | 电子设计大赛感受
  19. java正则表达式多行匹配,正则表达式多行匹配 - Wangle_OP的个人空间 - OSCHINA - 中文开源技术交流社区...
  20. 禅道项目管理系统安装后显示为空白

热门文章

  1. 基于STM32的学习型通用红外遥控设备的设计实现(一)
  2. 文件服务器的安装与配置心得,FTP 服务器的部署和维护心得
  3. linux多个sh 同时执行命令,sh, 批量执行Linux命令
  4. c++ 管理动物园动物
  5. 卡苹果6plus在线_答题攻略、复活卡、电脑助手,你想知道的都在这里了!
  6. SCADA数据采集与监控系统在制药生产过程中的应用
  7. 如何使用PDF编辑器旋转PDF页面方向
  8. 银行理财子与券商合作探讨(二):银行与券商合作的现状与展望
  9. 遥志虚拟盘服务器ip地址是不是全部填写127.0.0.1,CCBoot帮助文档.doc
  10. ReferenceError: Cannot access ‘xxx‘ before initialization