',12),c=[l];function o(s,n,h,p,d,b){return a(),t("div",null,c)}const _=e(r,[["render",o]]);export{m as __pageData,_ as default};
+import{_ as e,o as a,c as t,V as i}from"./chunks/framework.6405946a.js";const m=JSON.parse('{"title":"Vite 和 Webpack 双构建","description":"","frontmatter":{},"headers":[],"relativePath":"guide/builder.md"}'),r={name:"guide/builder.md"},l=i('
',12),c=[l];function o(s,n,h,p,d,b){return a(),t("div",null,c)}const _=e(r,[["render",o]]);export{m as __pageData,_ as default};
diff --git a/assets/guide_builder.md.b359815f.lean.js b/assets/guide_builder.md.05caa694.lean.js
similarity index 65%
rename from assets/guide_builder.md.b359815f.lean.js
rename to assets/guide_builder.md.05caa694.lean.js
index 77555b78..de54d492 100644
--- a/assets/guide_builder.md.b359815f.lean.js
+++ b/assets/guide_builder.md.05caa694.lean.js
@@ -1 +1 @@
-import{_ as e,o as a,c as t,V as i}from"./chunks/framework.c1e1f082.js";const m=JSON.parse('{"title":"Vite 和 Webpack 双构建","description":"","frontmatter":{},"headers":[],"relativePath":"guide/builder.md"}'),r={name:"guide/builder.md"},l=i("",12),c=[l];function o(s,n,h,p,d,b){return a(),t("div",null,c)}const _=e(r,[["render",o]]);export{m as __pageData,_ as default};
+import{_ as e,o as a,c as t,V as i}from"./chunks/framework.6405946a.js";const m=JSON.parse('{"title":"Vite 和 Webpack 双构建","description":"","frontmatter":{},"headers":[],"relativePath":"guide/builder.md"}'),r={name:"guide/builder.md"},l=i("",12),c=[l];function o(s,n,h,p,d,b){return a(),t("div",null,c)}const _=e(r,[["render",o]]);export{m as __pageData,_ as default};
diff --git a/assets/guide_config.md.4e96018e.lean.js b/assets/guide_config.md.4e96018e.lean.js
deleted file mode 100644
index 6cc89f8c..00000000
--- a/assets/guide_config.md.4e96018e.lean.js
+++ /dev/null
@@ -1 +0,0 @@
-import{_ as s,o as a,c as n,V as l}from"./chunks/framework.c1e1f082.js";const A=JSON.parse('{"title":"编译时配置","description":"","frontmatter":{},"headers":[],"relativePath":"guide/config.md"}'),p={name:"guide/config.md"},o=l("",21),e=[o];function c(t,r,D,F,y,C){return a(),n("div",null,e)}const d=s(p,[["render",c]]);export{A as __pageData,d as default};
diff --git a/assets/guide_config.md.4e96018e.js b/assets/guide_config.md.d6b0e93b.js
similarity index 63%
rename from assets/guide_config.md.4e96018e.js
rename to assets/guide_config.md.d6b0e93b.js
index 3ea9d410..da68f669 100644
--- a/assets/guide_config.md.4e96018e.js
+++ b/assets/guide_config.md.d6b0e93b.js
@@ -1,53 +1,53 @@
-import{_ as s,o as a,c as n,V as l}from"./chunks/framework.c1e1f082.js";const A=JSON.parse('{"title":"编译时配置","description":"","frontmatter":{},"headers":[],"relativePath":"guide/config.md"}'),p={name:"guide/config.md"},o=l(`
import{defineBuildConfig}from'@fesjs/fes';
+import{_ as s,o as a,c as n,V as l}from"./chunks/framework.6405946a.js";const d=JSON.parse('{"title":"编译时配置","description":"","frontmatter":{},"headers":[],"relativePath":"guide/config.md"}'),p={name:"guide/config.md"},o=l(`
`,21),e=[o];function c(t,r,D,F,y,i){return a(),n("div",null,e)}const E=s(p,[["render",c]]);export{d as __pageData,E as default};
diff --git a/assets/guide_config.md.d6b0e93b.lean.js b/assets/guide_config.md.d6b0e93b.lean.js
new file mode 100644
index 00000000..67c620d2
--- /dev/null
+++ b/assets/guide_config.md.d6b0e93b.lean.js
@@ -0,0 +1 @@
+import{_ as s,o as a,c as n,V as l}from"./chunks/framework.6405946a.js";const d=JSON.parse('{"title":"编译时配置","description":"","frontmatter":{},"headers":[],"relativePath":"guide/config.md"}'),p={name:"guide/config.md"},o=l("",21),e=[o];function c(t,r,D,F,y,i){return a(),n("div",null,e)}const E=s(p,[["render",c]]);export{d as __pageData,E as default};
diff --git a/assets/guide_contributing.md.e88cef42.js b/assets/guide_contributing.md.fbe0c80f.js
similarity index 94%
rename from assets/guide_contributing.md.e88cef42.js
rename to assets/guide_contributing.md.fbe0c80f.js
index b2eb02af..9d4fe4cf 100644
--- a/assets/guide_contributing.md.e88cef42.js
+++ b/assets/guide_contributing.md.fbe0c80f.js
@@ -1 +1 @@
-import{o as e,c as a,V as s}from"./chunks/framework.c1e1f082.js";const o=s('
',41),l=[o],i=JSON.parse('{"title":"贡献指南","description":"","frontmatter":{},"headers":[],"relativePath":"guide/contributing.md"}'),t={name:"guide/contributing.md"},d=Object.assign(t,{setup(p){return(n,r)=>(e(),a("div",null,l))}});export{i as __pageData,d as default};
+import{o as e,c as a,V as s}from"./chunks/framework.6405946a.js";const o=s('
',41),l=[o],i=JSON.parse('{"title":"贡献指南","description":"","frontmatter":{},"headers":[],"relativePath":"guide/contributing.md"}'),t={name:"guide/contributing.md"},d=Object.assign(t,{setup(p){return(n,r)=>(e(),a("div",null,l))}});export{i as __pageData,d as default};
diff --git a/assets/guide_contributing.md.e88cef42.lean.js b/assets/guide_contributing.md.fbe0c80f.lean.js
similarity index 81%
rename from assets/guide_contributing.md.e88cef42.lean.js
rename to assets/guide_contributing.md.fbe0c80f.lean.js
index 9064d04a..65c49538 100644
--- a/assets/guide_contributing.md.e88cef42.lean.js
+++ b/assets/guide_contributing.md.fbe0c80f.lean.js
@@ -1 +1 @@
-import{o as e,c as a,V as s}from"./chunks/framework.c1e1f082.js";const o=s("",41),l=[o],i=JSON.parse('{"title":"贡献指南","description":"","frontmatter":{},"headers":[],"relativePath":"guide/contributing.md"}'),t={name:"guide/contributing.md"},d=Object.assign(t,{setup(p){return(n,r)=>(e(),a("div",null,l))}});export{i as __pageData,d as default};
+import{o as e,c as a,V as s}from"./chunks/framework.6405946a.js";const o=s("",41),l=[o],i=JSON.parse('{"title":"贡献指南","description":"","frontmatter":{},"headers":[],"relativePath":"guide/contributing.md"}'),t={name:"guide/contributing.md"},d=Object.assign(t,{setup(p){return(n,r)=>(e(),a("div",null,l))}});export{i as __pageData,d as default};
diff --git a/assets/guide_css.md.dff6cb1a.js b/assets/guide_css.md.d85c3e62.js
similarity index 78%
rename from assets/guide_css.md.dff6cb1a.js
rename to assets/guide_css.md.d85c3e62.js
index c81e7fe1..5ef144cf 100644
--- a/assets/guide_css.md.dff6cb1a.js
+++ b/assets/guide_css.md.d85c3e62.js
@@ -1,12 +1,12 @@
-import{_ as s,o as a,c as l,V as e}from"./chunks/framework.c1e1f082.js";const C=JSON.parse('{"title":"使用 css","description":"","frontmatter":{},"headers":[],"relativePath":"guide/css.md"}'),n={name:"guide/css.md"},o=e(`
.layout-content{
-max-width:1000px;
+import{_ as s,o as a,c as l,V as e}from"./chunks/framework.6405946a.js";const h=JSON.parse('{"title":"使用 css","description":"","frontmatter":{},"headers":[],"relativePath":"guide/css.md"}'),n={name:"guide/css.md"},o=e(`
`,18),p=[o];function t(c,r,i,d,y,D){return a(),l("div",null,p)}const h=s(n,[["render",t]]);export{C as __pageData,h as default};
+import'bootstrap/dist/css/bootstrap.css'
`,18),p=[o];function t(c,r,i,d,y,D){return a(),l("div",null,p)}const u=s(n,[["render",t]]);export{h as __pageData,u as default};
diff --git a/assets/guide_css.md.d85c3e62.lean.js b/assets/guide_css.md.d85c3e62.lean.js
new file mode 100644
index 00000000..55a81365
--- /dev/null
+++ b/assets/guide_css.md.d85c3e62.lean.js
@@ -0,0 +1 @@
+import{_ as s,o as a,c as l,V as e}from"./chunks/framework.6405946a.js";const h=JSON.parse('{"title":"使用 css","description":"","frontmatter":{},"headers":[],"relativePath":"guide/css.md"}'),n={name:"guide/css.md"},o=e("",18),p=[o];function t(c,r,i,d,y,D){return a(),l("div",null,p)}const u=s(n,[["render",t]]);export{h as __pageData,u as default};
diff --git a/assets/guide_css.md.dff6cb1a.lean.js b/assets/guide_css.md.dff6cb1a.lean.js
deleted file mode 100644
index b40e373f..00000000
--- a/assets/guide_css.md.dff6cb1a.lean.js
+++ /dev/null
@@ -1 +0,0 @@
-import{_ as s,o as a,c as l,V as e}from"./chunks/framework.c1e1f082.js";const C=JSON.parse('{"title":"使用 css","description":"","frontmatter":{},"headers":[],"relativePath":"guide/css.md"}'),n={name:"guide/css.md"},o=e("",18),p=[o];function t(c,r,i,d,y,D){return a(),l("div",null,p)}const h=s(n,[["render",t]]);export{C as __pageData,h as default};
diff --git a/assets/guide_directory-structure.md.df257571.lean.js b/assets/guide_directory-structure.md.df257571.lean.js
deleted file mode 100644
index 78301d16..00000000
--- a/assets/guide_directory-structure.md.df257571.lean.js
+++ /dev/null
@@ -1 +0,0 @@
-import{_ as s,o as a,c as n,V as o}from"./chunks/framework.c1e1f082.js";const A=JSON.parse('{"title":"目录结构","description":"","frontmatter":{},"headers":[],"relativePath":"guide/directory-structure.md"}'),l={name:"guide/directory-structure.md"},p=o("",32),e=[p];function t(c,D,r,F,y,C){return a(),n("div",null,e)}const i=s(l,[["render",t]]);export{A as __pageData,i as default};
diff --git a/assets/guide_directory-structure.md.df257571.js b/assets/guide_directory-structure.md.ed7766df.js
similarity index 70%
rename from assets/guide_directory-structure.md.df257571.js
rename to assets/guide_directory-structure.md.ed7766df.js
index e763df8d..32e91e8d 100644
--- a/assets/guide_directory-structure.md.df257571.js
+++ b/assets/guide_directory-structure.md.ed7766df.js
@@ -1,66 +1,66 @@
-import{_ as s,o as a,c as n,V as o}from"./chunks/framework.c1e1f082.js";const A=JSON.parse('{"title":"目录结构","description":"","frontmatter":{},"headers":[],"relativePath":"guide/directory-structure.md"}'),l={name:"guide/directory-structure.md"},p=o(`
`,32),e=[p];function t(c,D,r,F,y,C){return a(),n("div",null,e)}const i=s(l,[["render",t]]);export{A as __pageData,i as default};
+import{_ as s,o as a,c as n,V as o}from"./chunks/framework.6405946a.js";const i=JSON.parse('{"title":"目录结构","description":"","frontmatter":{},"headers":[],"relativePath":"guide/directory-structure.md"}'),l={name:"guide/directory-structure.md"},p=o(`
`,32),e=[p];function t(c,D,r,F,y,u){return a(),n("div",null,e)}const q=s(l,[["render",t]]);export{i as __pageData,q as default};
diff --git a/assets/guide_directory-structure.md.ed7766df.lean.js b/assets/guide_directory-structure.md.ed7766df.lean.js
new file mode 100644
index 00000000..768764f0
--- /dev/null
+++ b/assets/guide_directory-structure.md.ed7766df.lean.js
@@ -0,0 +1 @@
+import{_ as s,o as a,c as n,V as o}from"./chunks/framework.6405946a.js";const i=JSON.parse('{"title":"目录结构","description":"","frontmatter":{},"headers":[],"relativePath":"guide/directory-structure.md"}'),l={name:"guide/directory-structure.md"},p=o("",32),e=[p];function t(c,D,r,F,y,u){return a(),n("div",null,e)}const q=s(l,[["render",t]]);export{i as __pageData,q as default};
diff --git a/assets/guide_env.md.4aef5288.js b/assets/guide_env.md.4aef5288.js
new file mode 100644
index 00000000..157c00c4
--- /dev/null
+++ b/assets/guide_env.md.4aef5288.js
@@ -0,0 +1,8 @@
+import{_ as a,o as s,c as e,V as o}from"./chunks/framework.6405946a.js";const y=JSON.parse('{"title":"环境变量","description":"","frontmatter":{},"headers":[],"relativePath":"guide/env.md"}'),n={name:"guide/env.md"},l=o(`
`,64),p=[l];function t(c,r,i,d,h,u){return s(),e("div",null,p)}const E=a(n,[["render",t]]);export{y as __pageData,E as default};
diff --git a/assets/guide_env.md.4aef5288.lean.js b/assets/guide_env.md.4aef5288.lean.js
new file mode 100644
index 00000000..d586868f
--- /dev/null
+++ b/assets/guide_env.md.4aef5288.lean.js
@@ -0,0 +1 @@
+import{_ as a,o as s,c as e,V as o}from"./chunks/framework.6405946a.js";const y=JSON.parse('{"title":"环境变量","description":"","frontmatter":{},"headers":[],"relativePath":"guide/env.md"}'),n={name:"guide/env.md"},l=o("",64),p=[l];function t(c,r,i,d,h,u){return s(),e("div",null,p)}const E=a(n,[["render",t]]);export{y as __pageData,E as default};
diff --git a/assets/guide_env.md.5c7fb3a6.js b/assets/guide_env.md.5c7fb3a6.js
deleted file mode 100644
index ddfdebc3..00000000
--- a/assets/guide_env.md.5c7fb3a6.js
+++ /dev/null
@@ -1,8 +0,0 @@
-import{_ as a,o as s,c as e,V as o}from"./chunks/framework.c1e1f082.js";const y=JSON.parse('{"title":"环境变量","description":"","frontmatter":{},"headers":[],"relativePath":"guide/env.md"}'),n={name:"guide/env.md"},l=o(`
`,64),p=[l];function t(c,r,i,d,h,C){return s(),e("div",null,p)}const b=a(n,[["render",t]]);export{y as __pageData,b as default};
diff --git a/assets/guide_env.md.5c7fb3a6.lean.js b/assets/guide_env.md.5c7fb3a6.lean.js
deleted file mode 100644
index c6dd84f0..00000000
--- a/assets/guide_env.md.5c7fb3a6.lean.js
+++ /dev/null
@@ -1 +0,0 @@
-import{_ as a,o as s,c as e,V as o}from"./chunks/framework.c1e1f082.js";const y=JSON.parse('{"title":"环境变量","description":"","frontmatter":{},"headers":[],"relativePath":"guide/env.md"}'),n={name:"guide/env.md"},l=o("",64),p=[l];function t(c,r,i,d,h,C){return s(),e("div",null,p)}const b=a(n,[["render",t]]);export{y as __pageData,b as default};
diff --git a/assets/guide_faq.md.82040b82.js b/assets/guide_faq.md.bbbbcfac.js
similarity index 80%
rename from assets/guide_faq.md.82040b82.js
rename to assets/guide_faq.md.bbbbcfac.js
index b4c3fd44..b31d60b5 100644
--- a/assets/guide_faq.md.82040b82.js
+++ b/assets/guide_faq.md.bbbbcfac.js
@@ -1,2 +1,2 @@
-import{_ as e,o as a,c as o,V as t}from"./chunks/framework.c1e1f082.js";const f=JSON.parse('{"title":"常见问题","description":"","frontmatter":{},"headers":[],"relativePath":"guide/faq.md"}'),s={name:"guide/faq.md"},n=t(`
`,4),c=[n];function l(i,r,d,p,_,u){return a(),o("div",null,c)}const q=e(s,[["render",l]]);export{f as __pageData,q as default};
+import{_ as e,o as a,c as o,V as t}from"./chunks/framework.6405946a.js";const f=JSON.parse('{"title":"常见问题","description":"","frontmatter":{},"headers":[],"relativePath":"guide/faq.md"}'),s={name:"guide/faq.md"},n=t(`
`,4),c=[n];function l(i,r,d,p,_,u){return a(),o("div",null,c)}const q=e(s,[["render",l]]);export{f as __pageData,q as default};
diff --git a/assets/guide_faq.md.82040b82.lean.js b/assets/guide_faq.md.bbbbcfac.lean.js
similarity index 63%
rename from assets/guide_faq.md.82040b82.lean.js
rename to assets/guide_faq.md.bbbbcfac.lean.js
index bd3027d7..43123417 100644
--- a/assets/guide_faq.md.82040b82.lean.js
+++ b/assets/guide_faq.md.bbbbcfac.lean.js
@@ -1 +1 @@
-import{_ as e,o as a,c as o,V as t}from"./chunks/framework.c1e1f082.js";const f=JSON.parse('{"title":"常见问题","description":"","frontmatter":{},"headers":[],"relativePath":"guide/faq.md"}'),s={name:"guide/faq.md"},n=t("",4),c=[n];function l(i,r,d,p,_,u){return a(),o("div",null,c)}const q=e(s,[["render",l]]);export{f as __pageData,q as default};
+import{_ as e,o as a,c as o,V as t}from"./chunks/framework.6405946a.js";const f=JSON.parse('{"title":"常见问题","description":"","frontmatter":{},"headers":[],"relativePath":"guide/faq.md"}'),s={name:"guide/faq.md"},n=t("",4),c=[n];function l(i,r,d,p,_,u){return a(),o("div",null,c)}const q=e(s,[["render",l]]);export{f as __pageData,q as default};
diff --git a/assets/guide_getting-started.md.1018d806.js b/assets/guide_getting-started.md.1018d806.js
deleted file mode 100644
index 68ab0475..00000000
--- a/assets/guide_getting-started.md.1018d806.js
+++ /dev/null
@@ -1,60 +0,0 @@
-import{o as e,c as o,C as s,b as n,a,V as p,y as l}from"./chunks/framework.c1e1f082.js";const t=p(`
`,9),_=JSON.parse('{"title":"快速上手","description":"","frontmatter":{},"headers":[],"relativePath":"guide/getting-started.md"}'),m={name:"guide/getting-started.md"},f=Object.assign(m,{setup(g){return(E,v)=>(e(),o("div",null,[t,s("img",{src:n(l)("pickTemplateTip.png"),alt:"目录已存在提示"},null,8,c),r,i,s("p",null,[a("当选择 "),C,a(" 或者 "),y,a(" 或者项目目录 "),d,a(" 不存在,会提示选取一个 "),A,a(": "),s("img",{src:n(l)("pickTemplate.png"),alt:"选择模板类型"},null,8,D)]),h,s("img",{src:n(l)("home.png"),alt:"home"},null,8,b),u]))}});export{_ as __pageData,f as default};
diff --git a/assets/guide_getting-started.md.1018d806.lean.js b/assets/guide_getting-started.md.1018d806.lean.js
deleted file mode 100644
index ee7f3669..00000000
--- a/assets/guide_getting-started.md.1018d806.lean.js
+++ /dev/null
@@ -1 +0,0 @@
-import{o as e,c as o,C as s,b as n,a,V as p,y as l}from"./chunks/framework.c1e1f082.js";const t=p("",16),c=["src"],r=s("p",null,"你可以选择:",-1),i=s("ul",null,[s("li",null,[s("code",null,"Overwrite"),a(" 删除项目文件夹,重新创建项目。")]),s("li",null,[s("code",null,"Merge"),a(" 保留原项目文件夹,存在相同文件则用模板文件覆盖当前目录文件。")])],-1),C=s("code",null,"Overwrite",-1),y=s("code",null,"Merge",-1),d=s("code",null,"workspace/myapp",-1),A=s("code",null,"template",-1),D=["src"],h=p("",6),b=["src"],u=p("",9),_=JSON.parse('{"title":"快速上手","description":"","frontmatter":{},"headers":[],"relativePath":"guide/getting-started.md"}'),m={name:"guide/getting-started.md"},f=Object.assign(m,{setup(g){return(E,v)=>(e(),o("div",null,[t,s("img",{src:n(l)("pickTemplateTip.png"),alt:"目录已存在提示"},null,8,c),r,i,s("p",null,[a("当选择 "),C,a(" 或者 "),y,a(" 或者项目目录 "),d,a(" 不存在,会提示选取一个 "),A,a(": "),s("img",{src:n(l)("pickTemplate.png"),alt:"选择模板类型"},null,8,D)]),h,s("img",{src:n(l)("home.png"),alt:"home"},null,8,b),u]))}});export{_ as __pageData,f as default};
diff --git a/assets/guide_getting-started.md.defce0e6.js b/assets/guide_getting-started.md.defce0e6.js
new file mode 100644
index 00000000..592f5cf0
--- /dev/null
+++ b/assets/guide_getting-started.md.defce0e6.js
@@ -0,0 +1,60 @@
+import{o as e,c as o,C as s,b as n,a,V as p,y as l}from"./chunks/framework.6405946a.js";const t=p(`
`,9),v=JSON.parse('{"title":"快速上手","description":"","frontmatter":{},"headers":[],"relativePath":"guide/getting-started.md"}'),u={name:"guide/getting-started.md"},_=Object.assign(u,{setup(m){return(A,g)=>(e(),o("div",null,[t,s("img",{src:n(l)("pickTemplateTip.png"),alt:"目录已存在提示"},null,8,c),r,i,s("p",null,[a("当选择 "),y,a(" 或者 "),d,a(" 或者项目目录 "),B,a(" 不存在,会提示选取一个 "),E,a(": "),s("img",{src:n(l)("pickTemplate.png"),alt:"选择模板类型"},null,8,h)]),D,s("img",{src:n(l)("home.png"),alt:"home"},null,8,C),b]))}});export{v as __pageData,_ as default};
diff --git a/assets/guide_getting-started.md.defce0e6.lean.js b/assets/guide_getting-started.md.defce0e6.lean.js
new file mode 100644
index 00000000..0d84822d
--- /dev/null
+++ b/assets/guide_getting-started.md.defce0e6.lean.js
@@ -0,0 +1 @@
+import{o as e,c as o,C as s,b as n,a,V as p,y as l}from"./chunks/framework.6405946a.js";const t=p("",16),c=["src"],r=s("p",null,"你可以选择:",-1),i=s("ul",null,[s("li",null,[s("code",null,"Overwrite"),a(" 删除项目文件夹,重新创建项目。")]),s("li",null,[s("code",null,"Merge"),a(" 保留原项目文件夹,存在相同文件则用模板文件覆盖当前目录文件。")])],-1),y=s("code",null,"Overwrite",-1),d=s("code",null,"Merge",-1),B=s("code",null,"workspace/myapp",-1),E=s("code",null,"template",-1),h=["src"],D=p("",6),C=["src"],b=p("",9),v=JSON.parse('{"title":"快速上手","description":"","frontmatter":{},"headers":[],"relativePath":"guide/getting-started.md"}'),u={name:"guide/getting-started.md"},_=Object.assign(u,{setup(m){return(A,g)=>(e(),o("div",null,[t,s("img",{src:n(l)("pickTemplateTip.png"),alt:"目录已存在提示"},null,8,c),r,i,s("p",null,[a("当选择 "),y,a(" 或者 "),d,a(" 或者项目目录 "),B,a(" 不存在,会提示选取一个 "),E,a(": "),s("img",{src:n(l)("pickTemplate.png"),alt:"选择模板类型"},null,8,h)]),D,s("img",{src:n(l)("home.png"),alt:"home"},null,8,C),b]))}});export{v as __pageData,_ as default};
diff --git a/assets/guide_image.md.cfb36581.js b/assets/guide_image.md.2558c3b4.js
similarity index 86%
rename from assets/guide_image.md.cfb36581.js
rename to assets/guide_image.md.2558c3b4.js
index 75b99eba..d67f310b 100644
--- a/assets/guide_image.md.cfb36581.js
+++ b/assets/guide_image.md.2558c3b4.js
@@ -1,15 +1,15 @@
-import{_ as s,o as a,c as l,V as n}from"./chunks/framework.c1e1f082.js";const u=JSON.parse('{"title":"使用图片","description":"","frontmatter":{},"headers":[],"relativePath":"guide/image.md"}'),o={name:"guide/image.md"},p=n(`
.logo{
-background:url('@/images/logo.png');
+import{_ as s,o as a,c as l,V as n}from"./chunks/framework.6405946a.js";const u=JSON.parse('{"title":"使用图片","description":"","frontmatter":{},"headers":[],"relativePath":"guide/image.md"}'),o={name:"guide/image.md"},p=n(`
<template>
-<img:src="\`\${publicPath}my-image.png\`" />
+<img:src="\`\${publicPath}my-image.png\`" /></template><script>
-exportdefault{
-setup(){
+exportdefault{
+setup(){return{
- publicPath:process.env.BASE_URL,
+ publicPath:process.env.BASE_URL,};},};
diff --git a/assets/guide_image.md.cfb36581.lean.js b/assets/guide_image.md.2558c3b4.lean.js
similarity index 64%
rename from assets/guide_image.md.cfb36581.lean.js
rename to assets/guide_image.md.2558c3b4.lean.js
index e476a31a..436943ee 100644
--- a/assets/guide_image.md.cfb36581.lean.js
+++ b/assets/guide_image.md.2558c3b4.lean.js
@@ -1 +1 @@
-import{_ as s,o as a,c as l,V as n}from"./chunks/framework.c1e1f082.js";const u=JSON.parse('{"title":"使用图片","description":"","frontmatter":{},"headers":[],"relativePath":"guide/image.md"}'),o={name:"guide/image.md"},p=n("",18),e=[p];function t(c,r,D,i,F,y){return a(),l("div",null,e)}const h=s(o,[["render",t]]);export{u as __pageData,h as default};
+import{_ as s,o as a,c as l,V as n}from"./chunks/framework.6405946a.js";const u=JSON.parse('{"title":"使用图片","description":"","frontmatter":{},"headers":[],"relativePath":"guide/image.md"}'),o={name:"guide/image.md"},p=n("",18),e=[p];function t(c,r,D,i,F,y){return a(),l("div",null,e)}const h=s(o,[["render",t]]);export{u as __pageData,h as default};
diff --git a/assets/guide_index.md.b02ebfe7.js b/assets/guide_index.md.9062da6f.js
similarity index 91%
rename from assets/guide_index.md.b02ebfe7.js
rename to assets/guide_index.md.9062da6f.js
index 540db207..b27b51b4 100644
--- a/assets/guide_index.md.b02ebfe7.js
+++ b/assets/guide_index.md.9062da6f.js
@@ -1,5 +1,5 @@
-import{o as i,c as n,C as e,b as a,a as l,V as t,y as s}from"./chunks/framework.c1e1f082.js";const o=t('
`,11),b=JSON.parse('{"title":"介绍","description":"","frontmatter":{},"headers":[],"relativePath":"guide/index.md"}'),u={name:"guide/index.md"},j=Object.assign(u,{setup(_){return(f,m)=>(i(),n("div",null,[o,e("img",{src:a(s)("framework.png"),alt:"架构"},null,8,r),c,p,e("p",null,[e("img",{src:a(s)("plugins.png"),alt:"插件",title:"插件",style:{width:"500px"},class:"medium-zoom-image"},null,8,d)]),l(" Fes.js 支持插件和插件集,通过这张图应该很好理解到他们的关系,通过插件集我们把插件收敛依赖然后支持不同的业务类型。 "),h]))}});export{b as __pageData,j as default};
+import{o as i,c as n,C as e,b as a,a as l,V as t,y as s}from"./chunks/framework.6405946a.js";const o=t('
`,11),g=JSON.parse('{"title":"介绍","description":"","frontmatter":{},"headers":[],"relativePath":"guide/index.md"}'),u={name:"guide/index.md"},j=Object.assign(u,{setup(_){return(b,f)=>(i(),n("div",null,[o,e("img",{src:a(s)("framework.png"),alt:"架构"},null,8,r),c,p,e("p",null,[e("img",{src:a(s)("plugins.png"),alt:"插件",title:"插件",style:{width:"500px"},class:"medium-zoom-image"},null,8,d)]),l(" Fes.js 支持插件和插件集,通过这张图应该很好理解到他们的关系,通过插件集我们把插件收敛依赖然后支持不同的业务类型。 "),h]))}});export{g as __pageData,j as default};
diff --git a/assets/guide_index.md.b02ebfe7.lean.js b/assets/guide_index.md.9062da6f.lean.js
similarity index 79%
rename from assets/guide_index.md.b02ebfe7.lean.js
rename to assets/guide_index.md.9062da6f.lean.js
index e1cda8dc..929364d5 100644
--- a/assets/guide_index.md.b02ebfe7.lean.js
+++ b/assets/guide_index.md.9062da6f.lean.js
@@ -1 +1 @@
-import{o as i,c as n,C as e,b as a,a as l,V as t,y as s}from"./chunks/framework.c1e1f082.js";const o=t("",11),r=["src"],c=e("p",null,"Fes.js 把大家常用的技术栈封装成一个个插件进行整理,收敛到一起,让大家只用 Fes.js 就可以完成 80% 的日常工作。",-1),p=e("h3",{id:"插件和插件集",tabindex:"-1"},[l("插件和插件集 "),e("a",{class:"header-anchor",href:"#插件和插件集","aria-label":'Permalink to "插件和插件集"'},"")],-1),d=["src"],h=t("",11),b=JSON.parse('{"title":"介绍","description":"","frontmatter":{},"headers":[],"relativePath":"guide/index.md"}'),u={name:"guide/index.md"},j=Object.assign(u,{setup(_){return(f,m)=>(i(),n("div",null,[o,e("img",{src:a(s)("framework.png"),alt:"架构"},null,8,r),c,p,e("p",null,[e("img",{src:a(s)("plugins.png"),alt:"插件",title:"插件",style:{width:"500px"},class:"medium-zoom-image"},null,8,d)]),l(" Fes.js 支持插件和插件集,通过这张图应该很好理解到他们的关系,通过插件集我们把插件收敛依赖然后支持不同的业务类型。 "),h]))}});export{b as __pageData,j as default};
+import{o as i,c as n,C as e,b as a,a as l,V as t,y as s}from"./chunks/framework.6405946a.js";const o=t("",11),r=["src"],c=e("p",null,"Fes.js 把大家常用的技术栈封装成一个个插件进行整理,收敛到一起,让大家只用 Fes.js 就可以完成 80% 的日常工作。",-1),p=e("h3",{id:"插件和插件集",tabindex:"-1"},[l("插件和插件集 "),e("a",{class:"header-anchor",href:"#插件和插件集","aria-label":'Permalink to "插件和插件集"'},"")],-1),d=["src"],h=t("",11),g=JSON.parse('{"title":"介绍","description":"","frontmatter":{},"headers":[],"relativePath":"guide/index.md"}'),u={name:"guide/index.md"},j=Object.assign(u,{setup(_){return(b,f)=>(i(),n("div",null,[o,e("img",{src:a(s)("framework.png"),alt:"架构"},null,8,r),c,p,e("p",null,[e("img",{src:a(s)("plugins.png"),alt:"插件",title:"插件",style:{width:"500px"},class:"medium-zoom-image"},null,8,d)]),l(" Fes.js 支持插件和插件集,通过这张图应该很好理解到他们的关系,通过插件集我们把插件收敛依赖然后支持不同的业务类型。 "),h]))}});export{g as __pageData,j as default};
diff --git a/assets/guide_mock.md.541ceb28.lean.js b/assets/guide_mock.md.541ceb28.lean.js
deleted file mode 100644
index e758736d..00000000
--- a/assets/guide_mock.md.541ceb28.lean.js
+++ /dev/null
@@ -1 +0,0 @@
-import{_ as s,o as n,c as a,V as l}from"./chunks/framework.c1e1f082.js";const A=JSON.parse('{"title":"Mock 数据","description":"","frontmatter":{},"headers":[],"relativePath":"guide/mock.md"}'),p={name:"guide/mock.md"},o=l("",23),e=[o];function c(t,F,r,y,D,i){return n(),a("div",null,e)}const d=s(p,[["render",c]]);export{A as __pageData,d as default};
diff --git a/assets/guide_mock.md.541ceb28.js b/assets/guide_mock.md.b68a288b.js
similarity index 87%
rename from assets/guide_mock.md.541ceb28.js
rename to assets/guide_mock.md.b68a288b.js
index 17698fe0..9d8505bc 100644
--- a/assets/guide_mock.md.541ceb28.js
+++ b/assets/guide_mock.md.b68a288b.js
@@ -1,14 +1,14 @@
-import{_ as s,o as n,c as a,V as l}from"./chunks/framework.c1e1f082.js";const A=JSON.parse('{"title":"Mock 数据","description":"","frontmatter":{},"headers":[],"relativePath":"guide/mock.md"}'),p={name:"guide/mock.md"},o=l(`
exportdefaultfunction({cgiMock,mockjs,utils}){
-const{Random}=mockjs;
+import{_ as s,o as n,c as a,V as l}from"./chunks/framework.6405946a.js";const B=JSON.parse('{"title":"Mock 数据","description":"","frontmatter":{},"headers":[],"relativePath":"guide/mock.md"}'),p={name:"guide/mock.md"},o=l(`
`,23),e=[o];function c(t,F,r,y,D,i){return n(),a("div",null,e)}const E=s(p,[["render",c]]);export{B as __pageData,E as default};
diff --git a/assets/guide_mock.md.b68a288b.lean.js b/assets/guide_mock.md.b68a288b.lean.js
new file mode 100644
index 00000000..ea63a906
--- /dev/null
+++ b/assets/guide_mock.md.b68a288b.lean.js
@@ -0,0 +1 @@
+import{_ as s,o as n,c as a,V as l}from"./chunks/framework.6405946a.js";const B=JSON.parse('{"title":"Mock 数据","description":"","frontmatter":{},"headers":[],"relativePath":"guide/mock.md"}'),p={name:"guide/mock.md"},o=l("",23),e=[o];function c(t,F,r,y,D,i){return n(),a("div",null,e)}const E=s(p,[["render",c]]);export{B as __pageData,E as default};
diff --git a/assets/guide_plugin.md.c99dbfa8.js b/assets/guide_plugin.md.1546986c.js
similarity index 67%
rename from assets/guide_plugin.md.c99dbfa8.js
rename to assets/guide_plugin.md.1546986c.js
index a33488ac..ee235104 100644
--- a/assets/guide_plugin.md.c99dbfa8.js
+++ b/assets/guide_plugin.md.1546986c.js
@@ -1,14 +1,14 @@
-import{_ as s,o as a,c as e,V as o}from"./chunks/framework.c1e1f082.js";const C=JSON.parse('{"title":"插件","description":"","frontmatter":{},"headers":[],"relativePath":"guide/plugin.md"}'),n={name:"guide/plugin.md"},l=o(`
`,29),p=[l];function c(t,r,i,d,D,y){return a(),e("div",null,p)}const u=s(n,[["render",c]]);export{C as __pageData,u as default};
+import{_ as s,o as a,c as o,V as e}from"./chunks/framework.6405946a.js";const u=JSON.parse('{"title":"插件","description":"","frontmatter":{},"headers":[],"relativePath":"guide/plugin.md"}'),n={name:"guide/plugin.md"},l=e(`
`,29),p=[l];function c(t,r,i,d,D,y){return a(),o("div",null,p)}const h=s(n,[["render",c]]);export{u as __pageData,h as default};
diff --git a/assets/guide_plugin.md.1546986c.lean.js b/assets/guide_plugin.md.1546986c.lean.js
new file mode 100644
index 00000000..6d91c750
--- /dev/null
+++ b/assets/guide_plugin.md.1546986c.lean.js
@@ -0,0 +1 @@
+import{_ as s,o as a,c as o,V as e}from"./chunks/framework.6405946a.js";const u=JSON.parse('{"title":"插件","description":"","frontmatter":{},"headers":[],"relativePath":"guide/plugin.md"}'),n={name:"guide/plugin.md"},l=e("",29),p=[l];function c(t,r,i,d,D,y){return a(),o("div",null,p)}const h=s(n,[["render",c]]);export{u as __pageData,h as default};
diff --git a/assets/guide_plugin.md.c99dbfa8.lean.js b/assets/guide_plugin.md.c99dbfa8.lean.js
deleted file mode 100644
index 97e8767c..00000000
--- a/assets/guide_plugin.md.c99dbfa8.lean.js
+++ /dev/null
@@ -1 +0,0 @@
-import{_ as s,o as a,c as e,V as o}from"./chunks/framework.c1e1f082.js";const C=JSON.parse('{"title":"插件","description":"","frontmatter":{},"headers":[],"relativePath":"guide/plugin.md"}'),n={name:"guide/plugin.md"},l=o("",29),p=[l];function c(t,r,i,d,D,y){return a(),e("div",null,p)}const u=s(n,[["render",c]]);export{C as __pageData,u as default};
diff --git a/assets/guide_public.md.eb9a78cd.js b/assets/guide_public.md.a0e12a19.js
similarity index 84%
rename from assets/guide_public.md.eb9a78cd.js
rename to assets/guide_public.md.a0e12a19.js
index 6354be3f..258497af 100644
--- a/assets/guide_public.md.eb9a78cd.js
+++ b/assets/guide_public.md.a0e12a19.js
@@ -1,11 +1,11 @@
-import{_ as s,o as a,c as n,V as l}from"./chunks/framework.c1e1f082.js";const u=JSON.parse('{"title":"静态资源","description":"","frontmatter":{},"headers":[],"relativePath":"guide/public.md"}'),o={name:"guide/public.md"},p=l(`
<template>
-<img:src="\`\${publicPath}my-image.png\`" />
+import{_ as s,o as a,c as n,V as l}from"./chunks/framework.6405946a.js";const u=JSON.parse('{"title":"静态资源","description":"","frontmatter":{},"headers":[],"relativePath":"guide/public.md"}'),o={name:"guide/public.md"},p=l(`
<template>
+<img:src="\`\${publicPath}my-image.png\`" /></template><script>
-exportdefault{
-setup(){
+exportdefault{
+setup(){return{
- publicPath:process.env.BASE_URL,
+ publicPath:process.env.BASE_URL,};},};
diff --git a/assets/guide_public.md.eb9a78cd.lean.js b/assets/guide_public.md.a0e12a19.lean.js
similarity index 64%
rename from assets/guide_public.md.eb9a78cd.lean.js
rename to assets/guide_public.md.a0e12a19.lean.js
index ef083b0a..30bcab41 100644
--- a/assets/guide_public.md.eb9a78cd.lean.js
+++ b/assets/guide_public.md.a0e12a19.lean.js
@@ -1 +1 @@
-import{_ as s,o as a,c as n,V as l}from"./chunks/framework.c1e1f082.js";const u=JSON.parse('{"title":"静态资源","description":"","frontmatter":{},"headers":[],"relativePath":"guide/public.md"}'),o={name:"guide/public.md"},p=l("",7),e=[p];function t(c,r,D,F,i,y){return a(),n("div",null,e)}const h=s(o,[["render",t]]);export{u as __pageData,h as default};
+import{_ as s,o as a,c as n,V as l}from"./chunks/framework.6405946a.js";const u=JSON.parse('{"title":"静态资源","description":"","frontmatter":{},"headers":[],"relativePath":"guide/public.md"}'),o={name:"guide/public.md"},p=l("",7),e=[p];function t(c,r,D,F,i,y){return a(),n("div",null,e)}const h=s(o,[["render",t]]);export{u as __pageData,h as default};
diff --git a/assets/guide_route.md.8754e456.js b/assets/guide_route.md.4f50db50.js
similarity index 64%
rename from assets/guide_route.md.8754e456.js
rename to assets/guide_route.md.4f50db50.js
index 885dde44..ec77db48 100644
--- a/assets/guide_route.md.8754e456.js
+++ b/assets/guide_route.md.4f50db50.js
@@ -1,158 +1,158 @@
-import{_ as s,o as a,c as n,V as l}from"./chunks/framework.c1e1f082.js";const i=JSON.parse('{"title":"路由","description":"","frontmatter":{},"headers":[],"relativePath":"guide/route.md"}'),p={name:"guide/route.md"},o=l(`
const router =newVueRouter({
-routes: [
-{
-path:'/foo',
-component: Foo,
-children: [
-{
-path:'bar',
-component: Bar,
+import{_ as s,o as a,c as n,V as l}from"./chunks/framework.6405946a.js";const E=JSON.parse('{"title":"路由","description":"","frontmatter":{},"headers":[],"relativePath":"guide/route.md"}'),p={name:"guide/route.md"},o=l(`
`,62),e=[o];function t(c,r,D,F,y,C){return a(),n("div",null,e)}const u=s(p,[["render",t]]);export{i as __pageData,u as default};
+};
`,62),e=[o];function t(c,r,D,F,y,B){return a(),n("div",null,e)}const A=s(p,[["render",t]]);export{E as __pageData,A as default};
diff --git a/assets/guide_route.md.4f50db50.lean.js b/assets/guide_route.md.4f50db50.lean.js
new file mode 100644
index 00000000..1c9d7aab
--- /dev/null
+++ b/assets/guide_route.md.4f50db50.lean.js
@@ -0,0 +1 @@
+import{_ as s,o as a,c as n,V as l}from"./chunks/framework.6405946a.js";const E=JSON.parse('{"title":"路由","description":"","frontmatter":{},"headers":[],"relativePath":"guide/route.md"}'),p={name:"guide/route.md"},o=l("",62),e=[o];function t(c,r,D,F,y,B){return a(),n("div",null,e)}const A=s(p,[["render",t]]);export{E as __pageData,A as default};
diff --git a/assets/guide_route.md.8754e456.lean.js b/assets/guide_route.md.8754e456.lean.js
deleted file mode 100644
index b337b84e..00000000
--- a/assets/guide_route.md.8754e456.lean.js
+++ /dev/null
@@ -1 +0,0 @@
-import{_ as s,o as a,c as n,V as l}from"./chunks/framework.c1e1f082.js";const i=JSON.parse('{"title":"路由","description":"","frontmatter":{},"headers":[],"relativePath":"guide/route.md"}'),p={name:"guide/route.md"},o=l("",62),e=[o];function t(c,r,D,F,y,C){return a(),n("div",null,e)}const u=s(p,[["render",t]]);export{i as __pageData,u as default};
diff --git a/assets/guide_runtime-config.md.56bc8115.lean.js b/assets/guide_runtime-config.md.56bc8115.lean.js
deleted file mode 100644
index de464d49..00000000
--- a/assets/guide_runtime-config.md.56bc8115.lean.js
+++ /dev/null
@@ -1 +0,0 @@
-import{_ as s,o as n,c as a,V as l}from"./chunks/framework.c1e1f082.js";const A=JSON.parse('{"title":"运行时配置","description":"","frontmatter":{},"headers":[],"relativePath":"guide/runtime-config.md"}'),p={name:"guide/runtime-config.md"},o=l("",67),e=[o];function t(c,r,y,D,F,i){return n(),a("div",null,e)}const d=s(p,[["render",t]]);export{A as __pageData,d as default};
diff --git a/assets/guide_runtime-config.md.56bc8115.js b/assets/guide_runtime-config.md.d5975866.js
similarity index 67%
rename from assets/guide_runtime-config.md.56bc8115.js
rename to assets/guide_runtime-config.md.d5975866.js
index 412cfbfe..97dda739 100644
--- a/assets/guide_runtime-config.md.56bc8115.js
+++ b/assets/guide_runtime-config.md.d5975866.js
@@ -1,67 +1,67 @@
-import{_ as s,o as n,c as a,V as l}from"./chunks/framework.c1e1f082.js";const A=JSON.parse('{"title":"运行时配置","description":"","frontmatter":{},"headers":[],"relativePath":"guide/runtime-config.md"}'),p={name:"guide/runtime-config.md"},o=l(`
// app.js
-import{defineRuntimeConfig}from'@fesjs/fes';
+import{_ as s,o as n,c as a,V as l}from"./chunks/framework.6405946a.js";const A=JSON.parse('{"title":"运行时配置","description":"","frontmatter":{},"headers":[],"relativePath":"guide/runtime-config.md"}'),p={name:"guide/runtime-config.md"},o=l(`
`,67),e=[o];function t(c,r,y,D,F,i){return n(),a("div",null,e)}const E=s(p,[["render",t]]);export{A as __pageData,E as default};
diff --git a/assets/guide_runtime-config.md.d5975866.lean.js b/assets/guide_runtime-config.md.d5975866.lean.js
new file mode 100644
index 00000000..b366d1be
--- /dev/null
+++ b/assets/guide_runtime-config.md.d5975866.lean.js
@@ -0,0 +1 @@
+import{_ as s,o as n,c as a,V as l}from"./chunks/framework.6405946a.js";const A=JSON.parse('{"title":"运行时配置","description":"","frontmatter":{},"headers":[],"relativePath":"guide/runtime-config.md"}'),p={name:"guide/runtime-config.md"},o=l("",67),e=[o];function t(c,r,y,D,F,i){return n(),a("div",null,e)}const E=s(p,[["render",t]]);export{A as __pageData,E as default};
diff --git a/assets/guide_template.md.6735687b.lean.js b/assets/guide_template.md.6735687b.lean.js
deleted file mode 100644
index 2051c36d..00000000
--- a/assets/guide_template.md.6735687b.lean.js
+++ /dev/null
@@ -1 +0,0 @@
-import{_ as s,o as a,c as l,V as n}from"./chunks/framework.c1e1f082.js";const C=JSON.parse('{"title":"HTML 模板","description":"","frontmatter":{},"headers":[],"relativePath":"guide/template.md"}'),o={name:"guide/template.md"},p=n("",13),t=[p];function e(c,D,r,F,y,i){return a(),l("div",null,t)}const A=s(o,[["render",e]]);export{C as __pageData,A as default};
diff --git a/assets/guide_template.md.6735687b.js b/assets/guide_template.md.8c24c049.js
similarity index 82%
rename from assets/guide_template.md.6735687b.js
rename to assets/guide_template.md.8c24c049.js
index 241372f2..0c66fbeb 100644
--- a/assets/guide_template.md.6735687b.js
+++ b/assets/guide_template.md.8c24c049.js
@@ -1,19 +1,19 @@
-import{_ as s,o as a,c as l,V as n}from"./chunks/framework.c1e1f082.js";const C=JSON.parse('{"title":"HTML 模板","description":"","frontmatter":{},"headers":[],"relativePath":"guide/template.md"}'),o={name:"guide/template.md"},p=n(`
<!DOCTYPEhtml>
+import{_ as s,o as a,c as l,V as n}from"./chunks/framework.6405946a.js";const h=JSON.parse('{"title":"HTML 模板","description":"","frontmatter":{},"headers":[],"relativePath":"guide/template.md"}'),o={name:"guide/template.md"},p=n(`
`,13),t=[p];function e(c,D,r,F,y,i){return a(),l("div",null,t)}const A=s(o,[["render",e]]);export{C as __pageData,A as default};
+<div><%= FES_APP_HELLO_WORLD %></div>
+</body>
`,13),t=[p];function e(c,r,D,F,y,i){return a(),l("div",null,t)}const u=s(o,[["render",e]]);export{h as __pageData,u as default};
diff --git a/assets/guide_template.md.8c24c049.lean.js b/assets/guide_template.md.8c24c049.lean.js
new file mode 100644
index 00000000..35e8126b
--- /dev/null
+++ b/assets/guide_template.md.8c24c049.lean.js
@@ -0,0 +1 @@
+import{_ as s,o as a,c as l,V as n}from"./chunks/framework.6405946a.js";const h=JSON.parse('{"title":"HTML 模板","description":"","frontmatter":{},"headers":[],"relativePath":"guide/template.md"}'),o={name:"guide/template.md"},p=n("",13),t=[p];function e(c,r,D,F,y,i){return a(),l("div",null,t)}const u=s(o,[["render",e]]);export{h as __pageData,u as default};
diff --git a/assets/guide_upgrade3.md.f74882c1.js b/assets/guide_upgrade3.md.9cd6ea78.js
similarity index 96%
rename from assets/guide_upgrade3.md.f74882c1.js
rename to assets/guide_upgrade3.md.9cd6ea78.js
index 56c901d3..8977d7b7 100644
--- a/assets/guide_upgrade3.md.f74882c1.js
+++ b/assets/guide_upgrade3.md.9cd6ea78.js
@@ -1 +1 @@
-import{_ as e,o as a,c as r,V as l}from"./chunks/framework.c1e1f082.js";const f=JSON.parse('{"title":"从 2.0.x 迁移到 3.0.x","description":"","frontmatter":{},"headers":[],"relativePath":"guide/upgrade3.md"}'),t={name:"guide/upgrade3.md"},i=l('
',10),o=[i];function c(n,d,h,p,s,u){return a(),r("div",null,o)}const m=e(t,[["render",c]]);export{f as __pageData,m as default};
+import{_ as e,o as a,c as r,V as l}from"./chunks/framework.6405946a.js";const f=JSON.parse('{"title":"从 2.0.x 迁移到 3.0.x","description":"","frontmatter":{},"headers":[],"relativePath":"guide/upgrade3.md"}'),t={name:"guide/upgrade3.md"},i=l('
import{plugin,ApplyPluginsType}from'@fesjs/fes';
+import{_ as s,o as a,c as n,V as l}from"./chunks/framework.6405946a.js";const B=JSON.parse('{"title":"API","description":"","frontmatter":{"aside":"left","outline":[2,3]},"headers":[],"relativePath":"reference/api/index.md"}'),o={name:"reference/api/index.md"},p=l(`
import{RouterLink,useLink}from'@fesjs/fes';
-exportdefault{
-name:'AppLink',
+exportdefault{
+name:'AppLink',
-props:{
+props:{// add @ts-ignore if using TypeScript
-...RouterLink.props,
-inactiveClass: String,
-},
+...RouterLink.props,
+inactiveClass: String,
+},
-setup(props){
+setup(props){// \`props\` contains \`to\` and any other prop that can be passed to <router-link>
-const{navigate,href,route,isActive,isExactActive}=useLink(props);
+const{navigate,href,route,isActive,isExactActive}=useLink(props);// profit!
-return{isExternalLink};
+return{isExternalLink};},};
`,65),e=[p];function t(r,c,y,D,i,F){return a(),n("div",null,e)}const d=s(o,[["render",t]]);export{B as __pageData,d as default};
diff --git a/assets/reference_api_index.md.a34a40df.lean.js b/assets/reference_api_index.md.00a1161a.lean.js
similarity index 51%
rename from assets/reference_api_index.md.a34a40df.lean.js
rename to assets/reference_api_index.md.00a1161a.lean.js
index 81458f40..af149c4e 100644
--- a/assets/reference_api_index.md.a34a40df.lean.js
+++ b/assets/reference_api_index.md.00a1161a.lean.js
@@ -1 +1 @@
-import{_ as s,o as a,c as n,V as l}from"./chunks/framework.c1e1f082.js";const A=JSON.parse('{"title":"API","description":"","frontmatter":{"aside":"left","outline":[2,3]},"headers":[],"relativePath":"reference/api/index.md"}'),o={name:"reference/api/index.md"},p=l("",65),e=[p];function t(r,c,y,D,i,F){return a(),n("div",null,e)}const u=s(o,[["render",t]]);export{A as __pageData,u as default};
+import{_ as s,o as a,c as n,V as l}from"./chunks/framework.6405946a.js";const B=JSON.parse('{"title":"API","description":"","frontmatter":{"aside":"left","outline":[2,3]},"headers":[],"relativePath":"reference/api/index.md"}'),o={name:"reference/api/index.md"},p=l("",65),e=[p];function t(r,c,y,D,i,F){return a(),n("div",null,e)}const d=s(o,[["render",t]]);export{B as __pageData,d as default};
diff --git a/assets/reference_cli_index.md.1567f141.lean.js b/assets/reference_cli_index.md.1567f141.lean.js
deleted file mode 100644
index 7680c00d..00000000
--- a/assets/reference_cli_index.md.1567f141.lean.js
+++ /dev/null
@@ -1 +0,0 @@
-import{_ as s,o as a,c as n,V as l}from"./chunks/framework.c1e1f082.js";const h=JSON.parse('{"title":"命令行工具","description":"","frontmatter":{"aside":"left","outline":[2,3]},"headers":[],"relativePath":"reference/cli/index.md"}'),e={name:"reference/cli/index.md"},p=l("",34),o=[p];function t(c,i,r,C,d,y){return a(),n("div",null,o)}const f=s(e,[["render",t]]);export{h as __pageData,f as default};
diff --git a/assets/reference_cli_index.md.1567f141.js b/assets/reference_cli_index.md.59721d01.js
similarity index 58%
rename from assets/reference_cli_index.md.1567f141.js
rename to assets/reference_cli_index.md.59721d01.js
index 01c27860..7bec74d5 100644
--- a/assets/reference_cli_index.md.1567f141.js
+++ b/assets/reference_cli_index.md.59721d01.js
@@ -1,71 +1,71 @@
-import{_ as s,o as a,c as n,V as l}from"./chunks/framework.c1e1f082.js";const h=JSON.parse('{"title":"命令行工具","description":"","frontmatter":{"aside":"left","outline":[2,3]},"headers":[],"relativePath":"reference/cli/index.md"}'),e={name:"reference/cli/index.md"},p=l(`
Usage: create-fes-app <name>
-
-Options:
- -v, --version Output the current version
- -h, --help Display help for command
- -f, --force Overwrite target directory if it exists
- -m, --merge Merge target directory if it exists
可以在本机安装后使用:
bash
# 全局安装
-pnpmglobaladd@fesjs/create-fes-app
+import{_ as s,o as a,c as n,V as e}from"./chunks/framework.6405946a.js";const u=JSON.parse('{"title":"命令行工具","description":"","frontmatter":{"aside":"left","outline":[2,3]},"headers":[],"relativePath":"reference/cli/index.md"}'),l={name:"reference/cli/index.md"},p=e(`
Usage: create-fes-app <name>
+
+Options:
+ -v, --version Output the current version
+ -h, --help Display help for command
+ -f, --force Overwrite target directory if it exists
+ -m, --merge Merge target directory if it exists
Usage: fes <command> [options]
-
-一个好用的前端应用解决方案
-
-Options:
- -v, --vers output the current version
- -h, --help display help for command
-
-Commands:
- build build application for production
- dev [options] start a local http service for development
- help show command helps
- info print debugging information about your environment
- webpack [options] inspect webpack configurations
-
- Run fes <command> --help for detailed usage of given command.
Usage: fes dev [options]
-
-start a local http service for development
-
-Options:
- --port http service port, like 8000
- --https whether to turn on the https service
- -h, --help display help for command
Usage: fes webpack [options]
-
-inspect webpack configurations
-
-Options:
- --rule <ruleName> inspect a specific module rule
- --plugin <pluginName> inspect a specific plugin
- --rules list all module rule names
- --plugins list all plugin names
- --verbose show full function definitions in output
- -h, --help display help for command
比如:
bash
feswebpack
`,34),o=[p];function t(c,i,r,C,d,y){return a(),n("div",null,o)}const f=s(e,[["render",t]]);export{h as __pageData,f as default};
+npmrundev
Usage: fes <command> [options]
+
+一个好用的前端应用解决方案
+
+Options:
+ -v, --vers output the current version
+ -h, --help display help for command
+
+Commands:
+ build build application for production
+ dev [options] start a local http service for development
+ help show command helps
+ info print debugging information about your environment
+ webpack [options] inspect webpack configurations
+
+ Run fes <command> --help for detailed usage of given command.
Usage: fes dev [options]
+
+start a local http service for development
+
+Options:
+ --port http service port, like 8000
+ --https whether to turn on the https service
+ -h, --help display help for command
Usage: fes webpack [options]
+
+inspect webpack configurations
+
+Options:
+ --rule <ruleName> inspect a specific module rule
+ --plugin <pluginName> inspect a specific plugin
+ --rules list all module rule names
+ --plugins list all plugin names
+ --verbose show full function definitions in output
+ -h, --help display help for command
比如:
bash
feswebpack
`,34),o=[p];function t(c,i,r,d,b,y){return a(),n("div",null,o)}const f=s(l,[["render",t]]);export{u as __pageData,f as default};
diff --git a/assets/reference_cli_index.md.59721d01.lean.js b/assets/reference_cli_index.md.59721d01.lean.js
new file mode 100644
index 00000000..e3a24f47
--- /dev/null
+++ b/assets/reference_cli_index.md.59721d01.lean.js
@@ -0,0 +1 @@
+import{_ as s,o as a,c as n,V as e}from"./chunks/framework.6405946a.js";const u=JSON.parse('{"title":"命令行工具","description":"","frontmatter":{"aside":"left","outline":[2,3]},"headers":[],"relativePath":"reference/cli/index.md"}'),l={name:"reference/cli/index.md"},p=e("",34),o=[p];function t(c,i,r,d,b,y){return a(),n("div",null,o)}const f=s(l,[["render",t]]);export{u as __pageData,f as default};
diff --git a/assets/reference_config_index.md.7ed2a419.lean.js b/assets/reference_config_index.md.7ed2a419.lean.js
deleted file mode 100644
index d6e70ce5..00000000
--- a/assets/reference_config_index.md.7ed2a419.lean.js
+++ /dev/null
@@ -1 +0,0 @@
-import{_ as s,o as a,c as l,V as n}from"./chunks/framework.c1e1f082.js";const C=JSON.parse('{"title":"","description":"","frontmatter":{"aside":"left","outline":[2,3]},"headers":[],"relativePath":"reference/config/index.md"}'),o={name:"reference/config/index.md"},e=n("",134),p=[e];function t(c,r,i,D,y,F){return a(),l("div",null,p)}const A=s(o,[["render",t]]);export{C as __pageData,A as default};
diff --git a/assets/reference_config_index.md.7ed2a419.js b/assets/reference_config_index.md.b1c69de8.js
similarity index 75%
rename from assets/reference_config_index.md.7ed2a419.js
rename to assets/reference_config_index.md.b1c69de8.js
index 56a2adc7..b1d1cb7d 100644
--- a/assets/reference_config_index.md.7ed2a419.js
+++ b/assets/reference_config_index.md.b1c69de8.js
@@ -1,107 +1,107 @@
-import{_ as s,o as a,c as l,V as n}from"./chunks/framework.c1e1f082.js";const C=JSON.parse('{"title":"","description":"","frontmatter":{"aside":"left","outline":[2,3]},"headers":[],"relativePath":"reference/config/index.md"}'),o={name:"reference/config/index.md"},e=n(`
import{defineBuildConfig}from'@fesjs/fes';
+import{_ as s,o as a,c as l,V as n}from"./chunks/framework.6405946a.js";const u=JSON.parse('{"title":"","description":"","frontmatter":{"aside":"left","outline":[2,3]},"headers":[],"relativePath":"reference/config/index.md"}'),o={name:"reference/config/index.md"},e=n(`
`,134),p=[e];function t(c,r,i,D,y,F){return a(),l("div",null,p)}const B=s(o,[["render",t]]);export{u as __pageData,B as default};
diff --git a/assets/reference_config_index.md.b1c69de8.lean.js b/assets/reference_config_index.md.b1c69de8.lean.js
new file mode 100644
index 00000000..b3402610
--- /dev/null
+++ b/assets/reference_config_index.md.b1c69de8.lean.js
@@ -0,0 +1 @@
+import{_ as s,o as a,c as l,V as n}from"./chunks/framework.6405946a.js";const u=JSON.parse('{"title":"","description":"","frontmatter":{"aside":"left","outline":[2,3]},"headers":[],"relativePath":"reference/config/index.md"}'),o={name:"reference/config/index.md"},e=n("",134),p=[e];function t(c,r,i,D,y,F){return a(),l("div",null,p)}const B=s(o,[["render",t]]);export{u as __pageData,B as default};
diff --git a/assets/reference_plugin_dev_api.md.ce09875b.js b/assets/reference_plugin_dev_api.md.caf0c121.js
similarity index 67%
rename from assets/reference_plugin_dev_api.md.ce09875b.js
rename to assets/reference_plugin_dev_api.md.caf0c121.js
index c3e0c61f..7490f5af 100644
--- a/assets/reference_plugin_dev_api.md.ce09875b.js
+++ b/assets/reference_plugin_dev_api.md.caf0c121.js
@@ -1,97 +1,97 @@
-import{_ as s,o as a,c as n,V as l}from"./chunks/framework.c1e1f082.js";const A=JSON.parse('{"title":"插件 API","description":"","frontmatter":{},"headers":[],"relativePath":"reference/plugin/dev/api.md"}'),p={name:"reference/plugin/dev/api.md"},o=l(`
api.describe({
-key:'esbuild',
-config:{
-schema(joi){
-returnjoi.object();
+import{_ as s,o as a,c as n,V as l}from"./chunks/framework.6405946a.js";const d=JSON.parse('{"title":"插件 API","description":"","frontmatter":{},"headers":[],"relativePath":"reference/plugin/dev/api.md"}'),p={name:"reference/plugin/dev/api.md"},o=l(`
`,211),e=[o];function t(c,r,y,D,F,i){return a(),n("div",null,e)}const A=s(p,[["render",t]]);export{d as __pageData,A as default};
diff --git a/assets/reference_plugin_dev_api.md.ce09875b.lean.js b/assets/reference_plugin_dev_api.md.caf0c121.lean.js
similarity index 50%
rename from assets/reference_plugin_dev_api.md.ce09875b.lean.js
rename to assets/reference_plugin_dev_api.md.caf0c121.lean.js
index d2fd27ab..5bd1ecb4 100644
--- a/assets/reference_plugin_dev_api.md.ce09875b.lean.js
+++ b/assets/reference_plugin_dev_api.md.caf0c121.lean.js
@@ -1 +1 @@
-import{_ as s,o as a,c as n,V as l}from"./chunks/framework.c1e1f082.js";const A=JSON.parse('{"title":"插件 API","description":"","frontmatter":{},"headers":[],"relativePath":"reference/plugin/dev/api.md"}'),p={name:"reference/plugin/dev/api.md"},o=l("",211),e=[o];function t(c,r,y,D,F,i){return a(),n("div",null,e)}const d=s(p,[["render",t]]);export{A as __pageData,d as default};
+import{_ as s,o as a,c as n,V as l}from"./chunks/framework.6405946a.js";const d=JSON.parse('{"title":"插件 API","description":"","frontmatter":{},"headers":[],"relativePath":"reference/plugin/dev/api.md"}'),p={name:"reference/plugin/dev/api.md"},o=l("",211),e=[o];function t(c,r,y,D,F,i){return a(),n("div",null,e)}const A=s(p,[["render",t]]);export{d as __pageData,A as default};
diff --git a/assets/reference_plugin_dev_index.md.3d159519.js b/assets/reference_plugin_dev_index.md.a387e2a7.js
similarity index 82%
rename from assets/reference_plugin_dev_index.md.3d159519.js
rename to assets/reference_plugin_dev_index.md.a387e2a7.js
index f0cc171e..bfae6889 100644
--- a/assets/reference_plugin_dev_index.md.3d159519.js
+++ b/assets/reference_plugin_dev_index.md.a387e2a7.js
@@ -1,12 +1,12 @@
-import{_ as s,o as a,c as e,V as n}from"./chunks/framework.c1e1f082.js";const h=JSON.parse('{"title":"插件介绍","description":"","frontmatter":{},"headers":[],"relativePath":"reference/plugin/dev/index.md"}'),l={name:"reference/plugin/dev/index.md"},o=n(`
添加新的 fes 命令 - 例如 @fes/plugin-jest 添加了 fes test 命令,允许开发者运行单元测试。
集成 Vue 的插件。
修改路由配置
提供运行时 API
...
插件的入口是一个函数,函数会以 API 对象作为第一个参数:
js
exportdefault(api)=>{
-api.describe({
+import{_ as s,o as a,c as e,V as n}from"./chunks/framework.6405946a.js";const h=JSON.parse('{"title":"插件介绍","description":"","frontmatter":{},"headers":[],"relativePath":"reference/plugin/dev/index.md"}'),l={name:"reference/plugin/dev/index.md"},o=n(`
`,23),p=[o];function t(c,r,i,d,y,F){return a(),e("div",null,p)}const u=s(l,[["render",t]]);export{h as __pageData,u as default};
diff --git a/assets/reference_plugin_dev_index.md.3d159519.lean.js b/assets/reference_plugin_dev_index.md.a387e2a7.lean.js
similarity index 50%
rename from assets/reference_plugin_dev_index.md.3d159519.lean.js
rename to assets/reference_plugin_dev_index.md.a387e2a7.lean.js
index 948b2974..8982cd61 100644
--- a/assets/reference_plugin_dev_index.md.3d159519.lean.js
+++ b/assets/reference_plugin_dev_index.md.a387e2a7.lean.js
@@ -1 +1 @@
-import{_ as s,o as a,c as e,V as n}from"./chunks/framework.c1e1f082.js";const h=JSON.parse('{"title":"插件介绍","description":"","frontmatter":{},"headers":[],"relativePath":"reference/plugin/dev/index.md"}'),l={name:"reference/plugin/dev/index.md"},o=n("",23),p=[o];function t(c,r,i,d,y,F){return a(),e("div",null,p)}const C=s(l,[["render",t]]);export{h as __pageData,C as default};
+import{_ as s,o as a,c as e,V as n}from"./chunks/framework.6405946a.js";const h=JSON.parse('{"title":"插件介绍","description":"","frontmatter":{},"headers":[],"relativePath":"reference/plugin/dev/index.md"}'),l={name:"reference/plugin/dev/index.md"},o=n("",23),p=[o];function t(c,r,i,d,y,F){return a(),e("div",null,p)}const u=s(l,[["render",t]]);export{h as __pageData,u as default};
diff --git a/assets/reference_plugin_index.md.c59c462a.js b/assets/reference_plugin_index.md.825ca1d7.js
similarity index 98%
rename from assets/reference_plugin_index.md.c59c462a.js
rename to assets/reference_plugin_index.md.825ca1d7.js
index 963468c8..87240822 100644
--- a/assets/reference_plugin_index.md.c59c462a.js
+++ b/assets/reference_plugin_index.md.825ca1d7.js
@@ -1 +1 @@
-import{o as e,c as s,C as t,b as a,V as d,y as r}from"./chunks/framework.c1e1f082.js";const l=d('
',4),n=["src"],i=t("p",null,"Fes.js 把大家常用的技术栈封装成一个个插件进行整理,收敛到一起,让大家只用 Fes.js 就可以完成 80% 的日常工作。",-1),f=JSON.parse('{"title":"介绍","description":"","frontmatter":{},"headers":[],"relativePath":"reference/plugin/index.md"}'),o={name:"reference/plugin/index.md"},g=Object.assign(o,{setup(u){return(c,h)=>(e(),s("div",null,[l,t("img",{src:a(r)("framework.png"),alt:"架构"},null,8,n),i]))}});export{f as __pageData,g as default};
+import{o as e,c as s,C as t,b as a,V as d,y as r}from"./chunks/framework.6405946a.js";const l=d('
',4),n=["src"],i=t("p",null,"Fes.js 把大家常用的技术栈封装成一个个插件进行整理,收敛到一起,让大家只用 Fes.js 就可以完成 80% 的日常工作。",-1),f=JSON.parse('{"title":"介绍","description":"","frontmatter":{},"headers":[],"relativePath":"reference/plugin/index.md"}'),o={name:"reference/plugin/index.md"},g=Object.assign(o,{setup(u){return(c,h)=>(e(),s("div",null,[l,t("img",{src:a(r)("framework.png"),alt:"架构"},null,8,n),i]))}});export{f as __pageData,g as default};
diff --git a/assets/reference_plugin_index.md.c59c462a.lean.js b/assets/reference_plugin_index.md.825ca1d7.lean.js
similarity index 89%
rename from assets/reference_plugin_index.md.c59c462a.lean.js
rename to assets/reference_plugin_index.md.825ca1d7.lean.js
index de4bc2fb..f3514ca3 100644
--- a/assets/reference_plugin_index.md.c59c462a.lean.js
+++ b/assets/reference_plugin_index.md.825ca1d7.lean.js
@@ -1 +1 @@
-import{o as e,c as s,C as t,b as a,V as d,y as r}from"./chunks/framework.c1e1f082.js";const l=d("",4),n=["src"],i=t("p",null,"Fes.js 把大家常用的技术栈封装成一个个插件进行整理,收敛到一起,让大家只用 Fes.js 就可以完成 80% 的日常工作。",-1),f=JSON.parse('{"title":"介绍","description":"","frontmatter":{},"headers":[],"relativePath":"reference/plugin/index.md"}'),o={name:"reference/plugin/index.md"},g=Object.assign(o,{setup(u){return(c,h)=>(e(),s("div",null,[l,t("img",{src:a(r)("framework.png"),alt:"架构"},null,8,n),i]))}});export{f as __pageData,g as default};
+import{o as e,c as s,C as t,b as a,V as d,y as r}from"./chunks/framework.6405946a.js";const l=d("",4),n=["src"],i=t("p",null,"Fes.js 把大家常用的技术栈封装成一个个插件进行整理,收敛到一起,让大家只用 Fes.js 就可以完成 80% 的日常工作。",-1),f=JSON.parse('{"title":"介绍","description":"","frontmatter":{},"headers":[],"relativePath":"reference/plugin/index.md"}'),o={name:"reference/plugin/index.md"},g=Object.assign(o,{setup(u){return(c,h)=>(e(),s("div",null,[l,t("img",{src:a(r)("framework.png"),alt:"架构"},null,8,n),i]))}});export{f as __pageData,g as default};
diff --git a/assets/reference_plugin_plugins_access.md.0a7743d2.lean.js b/assets/reference_plugin_plugins_access.md.0a7743d2.lean.js
deleted file mode 100644
index a7bd4803..00000000
--- a/assets/reference_plugin_plugins_access.md.0a7743d2.lean.js
+++ /dev/null
@@ -1 +0,0 @@
-import{_ as s,o as a,c as n,V as l}from"./chunks/framework.c1e1f082.js";const C=JSON.parse('{"title":"@fesjs/plugin-access","description":"","frontmatter":{},"headers":[],"relativePath":"reference/plugin/plugins/access.md"}'),o={name:"reference/plugin/plugins/access.md"},p=l("",72),e=[p];function c(t,r,F,D,y,i){return a(),n("div",null,e)}const d=s(o,[["render",c]]);export{C as __pageData,d as default};
diff --git a/assets/reference_plugin_plugins_access.md.0a7743d2.js b/assets/reference_plugin_plugins_access.md.fb85d87c.js
similarity index 77%
rename from assets/reference_plugin_plugins_access.md.0a7743d2.js
rename to assets/reference_plugin_plugins_access.md.fb85d87c.js
index 2c52e6f2..1d154372 100644
--- a/assets/reference_plugin_plugins_access.md.0a7743d2.js
+++ b/assets/reference_plugin_plugins_access.md.fb85d87c.js
@@ -1,92 +1,92 @@
-import{_ as s,o as a,c as n,V as l}from"./chunks/framework.c1e1f082.js";const C=JSON.parse('{"title":"@fesjs/plugin-access","description":"","frontmatter":{},"headers":[],"relativePath":"reference/plugin/plugins/access.md"}'),o={name:"reference/plugin/plugins/access.md"},p=l(`
<template>
-<access:id="accessId"> accessOnepicess1 </access>
-<divv-access="accessId">accessOnepicess2</div>
+import{_ as s,o as a,c as n,V as l}from"./chunks/framework.6405946a.js";const B=JSON.parse('{"title":"@fesjs/plugin-access","description":"","frontmatter":{},"headers":[],"relativePath":"reference/plugin/plugins/access.md"}'),o={name:"reference/plugin/plugins/access.md"},p=l(`
`,72),e=[p];function c(t,r,F,D,y,i){return a(),n("div",null,e)}const d=s(o,[["render",c]]);export{C as __pageData,d as default};
+</script>
`,72),e=[p];function c(t,r,F,D,y,i){return a(),n("div",null,e)}const A=s(o,[["render",c]]);export{B as __pageData,A as default};
diff --git a/assets/reference_plugin_plugins_access.md.fb85d87c.lean.js b/assets/reference_plugin_plugins_access.md.fb85d87c.lean.js
new file mode 100644
index 00000000..4c5ef8c0
--- /dev/null
+++ b/assets/reference_plugin_plugins_access.md.fb85d87c.lean.js
@@ -0,0 +1 @@
+import{_ as s,o as a,c as n,V as l}from"./chunks/framework.6405946a.js";const B=JSON.parse('{"title":"@fesjs/plugin-access","description":"","frontmatter":{},"headers":[],"relativePath":"reference/plugin/plugins/access.md"}'),o={name:"reference/plugin/plugins/access.md"},p=l("",72),e=[p];function c(t,r,F,D,y,i){return a(),n("div",null,e)}const A=s(o,[["render",c]]);export{B as __pageData,A as default};
diff --git a/assets/reference_plugin_plugins_editor.md.f8bfc420.js b/assets/reference_plugin_plugins_editor.md.ee626d64.js
similarity index 73%
rename from assets/reference_plugin_plugins_editor.md.f8bfc420.js
rename to assets/reference_plugin_plugins_editor.md.ee626d64.js
index d0cdfb99..ed55ca42 100644
--- a/assets/reference_plugin_plugins_editor.md.f8bfc420.js
+++ b/assets/reference_plugin_plugins_editor.md.ee626d64.js
@@ -1,41 +1,41 @@
-import{_ as s,o as a,c as n,V as o}from"./chunks/framework.c1e1f082.js";const C=JSON.parse('{"title":"@fesjs/plugin-monaco-editor","description":"","frontmatter":{},"headers":[],"relativePath":"reference/plugin/plugins/editor.md"}'),l={name:"reference/plugin/plugins/editor.md"},p=o(`
import{monaco}from'@fesjs/fes';
+import{_ as s,o as a,c as n,V as o}from"./chunks/framework.6405946a.js";const B=JSON.parse('{"title":"@fesjs/plugin-monaco-editor","description":"","frontmatter":{},"headers":[],"relativePath":"reference/plugin/plugins/editor.md"}'),l={name:"reference/plugin/plugins/editor.md"},p=o(`
`,27),e=[p];function t(c,r,D,F,y,i){return a(),n("div",null,e)}const h=s(l,[["render",t]]);export{B as __pageData,h as default};
diff --git a/assets/reference_plugin_plugins_editor.md.ee626d64.lean.js b/assets/reference_plugin_plugins_editor.md.ee626d64.lean.js
new file mode 100644
index 00000000..fcdd6162
--- /dev/null
+++ b/assets/reference_plugin_plugins_editor.md.ee626d64.lean.js
@@ -0,0 +1 @@
+import{_ as s,o as a,c as n,V as o}from"./chunks/framework.6405946a.js";const B=JSON.parse('{"title":"@fesjs/plugin-monaco-editor","description":"","frontmatter":{},"headers":[],"relativePath":"reference/plugin/plugins/editor.md"}'),l={name:"reference/plugin/plugins/editor.md"},p=o("",27),e=[p];function t(c,r,D,F,y,i){return a(),n("div",null,e)}const h=s(l,[["render",t]]);export{B as __pageData,h as default};
diff --git a/assets/reference_plugin_plugins_editor.md.f8bfc420.lean.js b/assets/reference_plugin_plugins_editor.md.f8bfc420.lean.js
deleted file mode 100644
index 81a6885e..00000000
--- a/assets/reference_plugin_plugins_editor.md.f8bfc420.lean.js
+++ /dev/null
@@ -1 +0,0 @@
-import{_ as s,o as a,c as n,V as o}from"./chunks/framework.c1e1f082.js";const C=JSON.parse('{"title":"@fesjs/plugin-monaco-editor","description":"","frontmatter":{},"headers":[],"relativePath":"reference/plugin/plugins/editor.md"}'),l={name:"reference/plugin/plugins/editor.md"},p=o("",27),e=[p];function t(c,r,D,F,y,i){return a(),n("div",null,e)}const A=s(l,[["render",t]]);export{C as __pageData,A as default};
diff --git a/assets/reference_plugin_plugins_enums.md.cbb61e98.js b/assets/reference_plugin_plugins_enums.md.28eaa6aa.js
similarity index 75%
rename from assets/reference_plugin_plugins_enums.md.cbb61e98.js
rename to assets/reference_plugin_plugins_enums.md.28eaa6aa.js
index f4b3d6e7..f8d42235 100644
--- a/assets/reference_plugin_plugins_enums.md.cbb61e98.js
+++ b/assets/reference_plugin_plugins_enums.md.28eaa6aa.js
@@ -1,36 +1,36 @@
-import{_ as s,o as a,c as n,V as l}from"./chunks/framework.c1e1f082.js";const A=JSON.parse('{"title":"@fesjs/plugin-enums","description":"","frontmatter":{},"headers":[],"relativePath":"reference/plugin/plugins/enums.md"}'),p={name:"reference/plugin/plugins/enums.md"},o=l(`
{
-"dependencies":{
-"@fesjs/fes":"^3.0.0",
-"@fesjs/plugin-enums":"^3.0.0"
-}
+import{_ as s,o as a,c as n,V as l}from"./chunks/framework.6405946a.js";const E=JSON.parse('{"title":"@fesjs/plugin-enums","description":"","frontmatter":{},"headers":[],"relativePath":"reference/plugin/plugins/enums.md"}'),p={name:"reference/plugin/plugins/enums.md"},o=l(`
`,44),e=[o];function t(c,r,D,F,y,i){return a(),n("div",null,e)}const d=s(p,[["render",t]]);export{A as __pageData,d as default};
+dir value
+'age'=>18
+'role[0]'=>{id:1,name:'管理员'}
+'role[1].id'=>2
TIP
枚举项 value 如果是基本类型,则规则不生效,value 就是当前值
`,44),e=[o];function t(c,r,D,F,y,i){return a(),n("div",null,e)}const A=s(p,[["render",t]]);export{E as __pageData,A as default};
diff --git a/assets/reference_plugin_plugins_enums.md.28eaa6aa.lean.js b/assets/reference_plugin_plugins_enums.md.28eaa6aa.lean.js
new file mode 100644
index 00000000..945eb4ba
--- /dev/null
+++ b/assets/reference_plugin_plugins_enums.md.28eaa6aa.lean.js
@@ -0,0 +1 @@
+import{_ as s,o as a,c as n,V as l}from"./chunks/framework.6405946a.js";const E=JSON.parse('{"title":"@fesjs/plugin-enums","description":"","frontmatter":{},"headers":[],"relativePath":"reference/plugin/plugins/enums.md"}'),p={name:"reference/plugin/plugins/enums.md"},o=l("",44),e=[o];function t(c,r,D,F,y,i){return a(),n("div",null,e)}const A=s(p,[["render",t]]);export{E as __pageData,A as default};
diff --git a/assets/reference_plugin_plugins_enums.md.cbb61e98.lean.js b/assets/reference_plugin_plugins_enums.md.cbb61e98.lean.js
deleted file mode 100644
index d21f6c1c..00000000
--- a/assets/reference_plugin_plugins_enums.md.cbb61e98.lean.js
+++ /dev/null
@@ -1 +0,0 @@
-import{_ as s,o as a,c as n,V as l}from"./chunks/framework.c1e1f082.js";const A=JSON.parse('{"title":"@fesjs/plugin-enums","description":"","frontmatter":{},"headers":[],"relativePath":"reference/plugin/plugins/enums.md"}'),p={name:"reference/plugin/plugins/enums.md"},o=l("",44),e=[o];function t(c,r,D,F,y,i){return a(),n("div",null,e)}const d=s(p,[["render",t]]);export{A as __pageData,d as default};
diff --git a/assets/reference_plugin_plugins_icon.md.85704c28.js b/assets/reference_plugin_plugins_icon.md.8b3b2297.js
similarity index 86%
rename from assets/reference_plugin_plugins_icon.md.85704c28.js
rename to assets/reference_plugin_plugins_icon.md.8b3b2297.js
index 27dd38fd..55bd0cb7 100644
--- a/assets/reference_plugin_plugins_icon.md.85704c28.js
+++ b/assets/reference_plugin_plugins_icon.md.8b3b2297.js
@@ -1,6 +1,6 @@
-import{_ as s,o as a,c as t,V as e}from"./chunks/framework.c1e1f082.js";const h=JSON.parse('{"title":"@fesjs/plugin-icon","description":"","frontmatter":{},"headers":[],"relativePath":"reference/plugin/plugins/icon.md"}'),n={name:"reference/plugin/plugins/icon.md"},l=e(`
{
-"dependencies":{
-"@fesjs/fes":"^3.0.0",
-"@fesjs/plugin-icon":"^3.0.0"
-}
+import{_ as s,o as a,c as t,V as e}from"./chunks/framework.6405946a.js";const h=JSON.parse('{"title":"@fesjs/plugin-icon","description":"","frontmatter":{},"headers":[],"relativePath":"reference/plugin/plugins/icon.md"}'),n={name:"reference/plugin/plugins/icon.md"},l=e(`
`,11),o=[l];function p(c,r,i,d,D,y){return a(),t("div",null,o)}const u=s(n,[["render",p]]);export{h as __pageData,u as default};
diff --git a/assets/reference_plugin_plugins_icon.md.85704c28.lean.js b/assets/reference_plugin_plugins_icon.md.8b3b2297.lean.js
similarity index 68%
rename from assets/reference_plugin_plugins_icon.md.85704c28.lean.js
rename to assets/reference_plugin_plugins_icon.md.8b3b2297.lean.js
index 52d72d76..d9880b78 100644
--- a/assets/reference_plugin_plugins_icon.md.85704c28.lean.js
+++ b/assets/reference_plugin_plugins_icon.md.8b3b2297.lean.js
@@ -1 +1 @@
-import{_ as s,o as a,c as t,V as e}from"./chunks/framework.c1e1f082.js";const h=JSON.parse('{"title":"@fesjs/plugin-icon","description":"","frontmatter":{},"headers":[],"relativePath":"reference/plugin/plugins/icon.md"}'),n={name:"reference/plugin/plugins/icon.md"},l=e("",11),o=[l];function p(c,r,i,d,D,y){return a(),t("div",null,o)}const u=s(n,[["render",p]]);export{h as __pageData,u as default};
+import{_ as s,o as a,c as t,V as e}from"./chunks/framework.6405946a.js";const h=JSON.parse('{"title":"@fesjs/plugin-icon","description":"","frontmatter":{},"headers":[],"relativePath":"reference/plugin/plugins/icon.md"}'),n={name:"reference/plugin/plugins/icon.md"},l=e("",11),o=[l];function p(c,r,i,d,D,y){return a(),t("div",null,o)}const u=s(n,[["render",p]]);export{h as __pageData,u as default};
diff --git a/assets/reference_plugin_plugins_jest.md.e67f6ac7.js b/assets/reference_plugin_plugins_jest.md.05f57360.js
similarity index 55%
rename from assets/reference_plugin_plugins_jest.md.e67f6ac7.js
rename to assets/reference_plugin_plugins_jest.md.05f57360.js
index cf191dcf..21a1f7c6 100644
--- a/assets/reference_plugin_plugins_jest.md.e67f6ac7.js
+++ b/assets/reference_plugin_plugins_jest.md.05f57360.js
@@ -1,299 +1,299 @@
-import{_ as s,o as n,c as a,V as e}from"./chunks/framework.c1e1f082.js";const D=JSON.parse('{"title":"@fesjs/plugin-jest","description":"","frontmatter":{},"headers":[],"relativePath":"reference/plugin/plugins/jest.md"}'),l={name:"reference/plugin/plugins/jest.md"},t=e(`
import sum from'@/utils/sum';
-test('adds 1 + 2 to equal 3',()=>{
+import{_ as s,o as a,c as n,V as e}from"./chunks/framework.6405946a.js";const u=JSON.parse('{"title":"@fesjs/plugin-jest","description":"","frontmatter":{},"headers":[],"relativePath":"reference/plugin/plugins/jest.md"}'),l={name:"reference/plugin/plugins/jest.md"},t=e(`
$ fes test -h
-Usage: fes test [options]
-
-run unit tests with jest
-
-Options:
- --all The opposite of \`onlyChanged\`. If \`onlyChanged\`
- is set by default, running jest with \`--all\`
- will force Jest to run all tests instead of
- running only tests related to changed files.
- --automock Automock all files by default.
- -b --bail Exit the test suite immediately after \`n\`
- number of failing tests.
- --browser Respect the "browser" field in package.json
- when resolving modules. Some packages export
- different versions based on whether they are
- operating in node.js or a browser.
- --cache Whether to use the transform cache. Disable the
- cache using --no-cache.
- --cacheDirectory The directory where Jest should store its
- cached dependency information.
- --changedFilesWithAncestor Runs tests related to the current changes and
- the changes made in the last commit. Behaves
- similarly to \`--onlyChanged\`.
- --changedSince Runs tests related to the changes since the
- provided branch. If the current branch has
- diverged from the given branch, then only
- changes made locally will be tested. Behaves
- similarly to \`--onlyChanged\`.
- --ci Whether to run Jest in continuous integration
- (CI) mode. This option is on by default in most
- popular CI environments. It will prevent
- snapshots from being written unless explicitly
- requested.
- --clearCache Clears the configured Jest cache directory and
- then exits. Default directory can be found by
- calling jest --showConfig
- --clearMocks Automatically clear mock calls and instances
- between every test. Equivalent to calling
- jest.clearAllMocks() between each test.
- --collectCoverage Alias for --coverage.
- --collectCoverageFrom A glob pattern relative to <rootDir> matching
- the files that coverage info needs to be
- collected from.
- --collectCoverageOnlyFrom Explicit list of paths coverage will be
- restricted to.
- --color Forces test results output color highlighting
- (even if stdout is not a TTY). Set to false if
- you would like to have no colors.
- --colors Alias for \`--color\`.
- -c --config The path to a jest config file specifying how
- to find and execute tests. If no rootDir is set
- in the config, the directory containing the
- config file is assumed to be the rootDir for
- the project.This can also be a JSON encoded
- value which Jest will use as configuration.
- --coverage Indicates that test coverage information should
- be collected and reported in the output.
- --coverageDirectory The directory where Jest should output its
- coverage files.
- --coveragePathIgnorePatterns An array of regexp pattern strings that are
- matched against all file paths before executing
- the test. If the file pathmatches any of the
- patterns, coverage information will be skipped.
- --coverageProvider Select between Babel and V8 to collect coverage
- --coverageReporters A list of reporter names that Jest uses when
- writing coverage reports. Any istanbul reporter
- can be used.
- --coverageThreshold A JSON string with which will be used to
- configure minimum threshold enforcement for
- coverage results
- --debug Print debugging info about your jest config.
- --detectLeaks **EXPERIMENTAL**: Detect memory leaks in tests.
- After executing a test, it will try to garbage
- collect the global object used, and fail if it
- was leaked
- --detectOpenHandles Print out remaining open handles preventing
- Jest from exiting at the end of a test run.
- Implies \`runInBand\`.
- --env The test environment used for all tests. This
- can point to any file or node module. Examples:
- \`jsdom\`, \`node\` or \`path/to/my-environment.js\`
- --errorOnDeprecated Make calling deprecated APIs throw helpful
- error messages.
- -e --expand Use this flag to show full diffs instead of a
- patch.
- --filter Path to a module exporting a filtering
- function. This method receives a list of tests
- which can be manipulated to exclude tests from
- running. Especially useful when used in
- conjunction with a testing infrastructure to
- filter known broken tests.
- --findRelatedTests Find related tests for a list of source files
- that were passed in as arguments. Useful for
- pre-commit hook integration to run the minimal
- amount of tests necessary.
- --forceExit Force Jest to exit after all tests have
- completed running. This is useful when
- resources set up by test code cannot be
- adequately cleaned up.
- --globalSetup The path to a module that runs before All
- Tests.
- --globalTeardown The path to a module that runs after All Tests.
- --globals A JSON string with map of global variables that
- need to be available in all test environments.
- --haste A JSON string with map of variables for the
- haste module system
- --init Generate a basic configuration file
- --injectGlobals Should Jest inject global variables or not
- --json Prints the test results in JSON. This mode will
- send all other test output and user messages to
- stderr.
- --lastCommit Run all tests affected by file changes in the
- last commit made. Behaves similarly to
- \`--onlyChanged\`.
- --listTests Lists all tests Jest will run given the
- arguments and exits. Most useful in a CI system
- together with \`--findRelatedTests\` to determine
- the tests Jest will run based on specific files
- --logHeapUsage Logs the heap usage after every test. Useful to
- debug memory leaks. Use together with
- \`--runInBand\` and \`--expose-gc\` in node.
- --mapCoverage Maps code coverage reports against original source code when transformers supply source maps.
-
- DEPRECATED
- --maxConcurrency Specifies the maximum number of tests that are
- allowed to runconcurrently. This only affects
- tests using \`test.concurrent\`.
- -w --maxWorkers Specifies the maximum number of workers the
- worker-pool will spawn for running tests. This
- defaults to the number of the cores available
- on your machine. (its usually best not to
- override this default)
- --moduleDirectories An array of directory names to be searched
- recursively up from the requiring module's
- location.
- --moduleFileExtensions An array of file extensions your modules use.
- If you require modules without specifying a
- file extension, these are the extensions Jest
- will look for.
- --moduleNameMapper A JSON string with a map from regular
- expressions to module names or to arrays of
- module names that allow to stub out resources,
- like images or styles with a single module
- --modulePathIgnorePatterns An array of regexp pattern strings that are
- matched against all module paths before those
- paths are to be considered "visible" to the
- module loader.
- --modulePaths An alternative API to setting the NODE_PATH env
- variable, modulePaths is an array of absolute
- paths to additional locations to search when
- resolving modules.
- --noStackTrace Disables stack trace in test results output
- --notify Activates notifications for test results.
- --notifyMode Specifies when notifications will appear for
- test results.
- -o --onlyChanged Attempts to identify which tests to run based
- on which files have changed in the current
- repository. Only works if you're running tests
- in a git or hg repository at the moment.
- -f --onlyFailures Run tests that failed in the previous
- execution.
- --outputFile Write test results to a file when the --json
- option is also specified.
- --passWithNoTests Will not fail if no tests are found (for
- example while using \`--testPathPattern\`.)
- --preset A preset that is used as a base for Jest's
- configuration.
- --prettierPath The path to the "prettier" module used for
- inline snapshots.
- --projects A list of projects that use Jest to run all
- tests of all projects in a single instance of
- Jest.
- --reporters A list of custom reporters for the test suite.
- --resetMocks Automatically reset mock state between every
- test. Equivalent to calling
- jest.resetAllMocks() between each test.
- --resetModules If enabled, the module registry for every test
- file will be reset before running each
- individual test.
- --resolver A JSON string which allows the use of a custom
- resolver.
- --restoreMocks Automatically restore mock state and
- implementation between every test. Equivalent
- to calling jest.restoreAllMocks() between each
- test.
- --rootDir The root directory that Jest should scan for
- tests and modules within.
- --roots A list of paths to directories that Jest should
- use to search for files in.
- -i --runInBand Run all tests serially in the current process
- (rather than creating a worker pool of child
- processes that run tests). This is sometimes
- useful for debugging, but such use cases are
- pretty rare.
- --runTestsByPath Used when provided patterns are exact file
- paths. This avoids converting them into a
- regular expression and matching it against
- every single file.
- --runner Allows to use a custom runner instead of Jest's
- default test runner.
- --selectProjects Run only the tests of the specified
- projects.Jest uses the attribute \`displayName\`
- in the configuration to identify each project.
- --setupFiles A list of paths to modules that run some code
- to configure or set up the testing environment
- before each test.
- --setupFilesAfterEnv A list of paths to modules that run some code
- to configure or set up the testing framework
- before each test
- --showConfig Print your jest config and then exits.
- --silent Prevent tests from printing messages through
- the console.
- --skipFilter Disables the filter provided by --filter.
- Useful for CI jobs, or local enforcement when
- fixing tests.
- --snapshotSerializers A list of paths to snapshot serializer modules
- Jest should use for snapshot testing.
- --testEnvironment Alias for --env
- --testEnvironmentOptions Test environment options that will be passed to
- the testEnvironment. The relevant options
- depend on the environment.
- --testFailureExitCode Exit code of \`jest\` command if the test run
- failed
- --testLocationInResults Add \`location\` information to the test results
- --testMatch The glob patterns Jest uses to detect test
- files.
- -t --testNamePattern Run only tests with a name that matches the
- regex pattern.
- --testPathIgnorePatterns An array of regexp pattern strings that are
- matched against all test paths before executing
- the test. If the test path matches any of the
- patterns, it will be skipped.
- --testPathPattern A regexp pattern string that is matched against
- all tests paths before executing the test.
- --testRegex A string or array of string regexp patterns
- that Jest uses to detect test files.
- --testResultsProcessor Allows the use of a custom results processor.
- This processor must be a node module that
- exports a function expecting as the first
- argument the result object.
- --testRunner Allows to specify a custom test runner. The
- default is \`jasmine2\`. A path to a custom test
- runner can be provided:
- \`<rootDir>/path/to/testRunner.js\`.
- --testSequencer Allows to specify a custom test sequencer. The
- default is \`@jest/test-sequencer\`. A path to a
- custom test sequencer can be provided:
- \`<rootDir>/path/to/testSequencer.js\`
- --testTimeout This option sets the default timeouts of test
- cases.
- --testURL This option sets the URL for the jsdom
- environment.
- --timers Setting this value to fake allows the use of
- fake timers for functions such as setTimeout.
- --transform A JSON string which maps from regular
- expressions to paths to transformers.
- --transformIgnorePatterns An array of regexp pattern strings that are
- matched against all source file paths before
- transformation.
- --unmockedModulePathPatterns An array of regexp pattern strings that are
- matched against all modules before the module
- loader will automatically return a mock for
- them.
- -u --updateSnapshot Use this flag to re-record snapshots. Can be
- used together with a test suite pattern or with
- \`--testNamePattern\` to re-record snapshot for
- test matching the pattern
- --useStderr Divert all output to stderr.
- --verbose Display individual test results with the test
- suite hierarchy.
- --watch Watch files for changes and rerun tests related
- to changed files. If you want to re-run all
- tests when a file has changed, use the
- \`--watchAll\` option.
- --watchAll Watch files for changes and rerun all tests. If
- you want to re-run only the tests related to
- the changed files, use the \`--watch\` option.
- --watchPathIgnorePatterns An array of regexp pattern strings that are
- matched against all paths before trigger test
- re-run in watch mode. If the test path matches
- any of the patterns, it will be skipped.
- --watchman Whether to use watchman for file crawling.
- Disable using --no-watchman.
- -h, --help display help for command
$ fes test -h
+Usage: fes test [options]
+
+run unit tests with jest
+
+Options:
+ --all The opposite of \`onlyChanged\`. If \`onlyChanged\`
+ is set by default, running jest with \`--all\`
+ will force Jest to run all tests instead of
+ running only tests related to changed files.
+ --automock Automock all files by default.
+ -b --bail Exit the test suite immediately after \`n\`
+ number of failing tests.
+ --browser Respect the "browser" field in package.json
+ when resolving modules. Some packages export
+ different versions based on whether they are
+ operating in node.js or a browser.
+ --cache Whether to use the transform cache. Disable the
+ cache using --no-cache.
+ --cacheDirectory The directory where Jest should store its
+ cached dependency information.
+ --changedFilesWithAncestor Runs tests related to the current changes and
+ the changes made in the last commit. Behaves
+ similarly to \`--onlyChanged\`.
+ --changedSince Runs tests related to the changes since the
+ provided branch. If the current branch has
+ diverged from the given branch, then only
+ changes made locally will be tested. Behaves
+ similarly to \`--onlyChanged\`.
+ --ci Whether to run Jest in continuous integration
+ (CI) mode. This option is on by default in most
+ popular CI environments. It will prevent
+ snapshots from being written unless explicitly
+ requested.
+ --clearCache Clears the configured Jest cache directory and
+ then exits. Default directory can be found by
+ calling jest --showConfig
+ --clearMocks Automatically clear mock calls and instances
+ between every test. Equivalent to calling
+ jest.clearAllMocks() between each test.
+ --collectCoverage Alias for --coverage.
+ --collectCoverageFrom A glob pattern relative to <rootDir> matching
+ the files that coverage info needs to be
+ collected from.
+ --collectCoverageOnlyFrom Explicit list of paths coverage will be
+ restricted to.
+ --color Forces test results output color highlighting
+ (even if stdout is not a TTY). Set to false if
+ you would like to have no colors.
+ --colors Alias for \`--color\`.
+ -c --config The path to a jest config file specifying how
+ to find and execute tests. If no rootDir is set
+ in the config, the directory containing the
+ config file is assumed to be the rootDir for
+ the project.This can also be a JSON encoded
+ value which Jest will use as configuration.
+ --coverage Indicates that test coverage information should
+ be collected and reported in the output.
+ --coverageDirectory The directory where Jest should output its
+ coverage files.
+ --coveragePathIgnorePatterns An array of regexp pattern strings that are
+ matched against all file paths before executing
+ the test. If the file pathmatches any of the
+ patterns, coverage information will be skipped.
+ --coverageProvider Select between Babel and V8 to collect coverage
+ --coverageReporters A list of reporter names that Jest uses when
+ writing coverage reports. Any istanbul reporter
+ can be used.
+ --coverageThreshold A JSON string with which will be used to
+ configure minimum threshold enforcement for
+ coverage results
+ --debug Print debugging info about your jest config.
+ --detectLeaks **EXPERIMENTAL**: Detect memory leaks in tests.
+ After executing a test, it will try to garbage
+ collect the global object used, and fail if it
+ was leaked
+ --detectOpenHandles Print out remaining open handles preventing
+ Jest from exiting at the end of a test run.
+ Implies \`runInBand\`.
+ --env The test environment used for all tests. This
+ can point to any file or node module. Examples:
+ \`jsdom\`, \`node\` or \`path/to/my-environment.js\`
+ --errorOnDeprecated Make calling deprecated APIs throw helpful
+ error messages.
+ -e --expand Use this flag to show full diffs instead of a
+ patch.
+ --filter Path to a module exporting a filtering
+ function. This method receives a list of tests
+ which can be manipulated to exclude tests from
+ running. Especially useful when used in
+ conjunction with a testing infrastructure to
+ filter known broken tests.
+ --findRelatedTests Find related tests for a list of source files
+ that were passed in as arguments. Useful for
+ pre-commit hook integration to run the minimal
+ amount of tests necessary.
+ --forceExit Force Jest to exit after all tests have
+ completed running. This is useful when
+ resources set up by test code cannot be
+ adequately cleaned up.
+ --globalSetup The path to a module that runs before All
+ Tests.
+ --globalTeardown The path to a module that runs after All Tests.
+ --globals A JSON string with map of global variables that
+ need to be available in all test environments.
+ --haste A JSON string with map of variables for the
+ haste module system
+ --init Generate a basic configuration file
+ --injectGlobals Should Jest inject global variables or not
+ --json Prints the test results in JSON. This mode will
+ send all other test output and user messages to
+ stderr.
+ --lastCommit Run all tests affected by file changes in the
+ last commit made. Behaves similarly to
+ \`--onlyChanged\`.
+ --listTests Lists all tests Jest will run given the
+ arguments and exits. Most useful in a CI system
+ together with \`--findRelatedTests\` to determine
+ the tests Jest will run based on specific files
+ --logHeapUsage Logs the heap usage after every test. Useful to
+ debug memory leaks. Use together with
+ \`--runInBand\` and \`--expose-gc\` in node.
+ --mapCoverage Maps code coverage reports against original source code when transformers supply source maps.
+
+ DEPRECATED
+ --maxConcurrency Specifies the maximum number of tests that are
+ allowed to runconcurrently. This only affects
+ tests using \`test.concurrent\`.
+ -w --maxWorkers Specifies the maximum number of workers the
+ worker-pool will spawn for running tests. This
+ defaults to the number of the cores available
+ on your machine. (its usually best not to
+ override this default)
+ --moduleDirectories An array of directory names to be searched
+ recursively up from the requiring module's
+ location.
+ --moduleFileExtensions An array of file extensions your modules use.
+ If you require modules without specifying a
+ file extension, these are the extensions Jest
+ will look for.
+ --moduleNameMapper A JSON string with a map from regular
+ expressions to module names or to arrays of
+ module names that allow to stub out resources,
+ like images or styles with a single module
+ --modulePathIgnorePatterns An array of regexp pattern strings that are
+ matched against all module paths before those
+ paths are to be considered "visible" to the
+ module loader.
+ --modulePaths An alternative API to setting the NODE_PATH env
+ variable, modulePaths is an array of absolute
+ paths to additional locations to search when
+ resolving modules.
+ --noStackTrace Disables stack trace in test results output
+ --notify Activates notifications for test results.
+ --notifyMode Specifies when notifications will appear for
+ test results.
+ -o --onlyChanged Attempts to identify which tests to run based
+ on which files have changed in the current
+ repository. Only works if you're running tests
+ in a git or hg repository at the moment.
+ -f --onlyFailures Run tests that failed in the previous
+ execution.
+ --outputFile Write test results to a file when the --json
+ option is also specified.
+ --passWithNoTests Will not fail if no tests are found (for
+ example while using \`--testPathPattern\`.)
+ --preset A preset that is used as a base for Jest's
+ configuration.
+ --prettierPath The path to the "prettier" module used for
+ inline snapshots.
+ --projects A list of projects that use Jest to run all
+ tests of all projects in a single instance of
+ Jest.
+ --reporters A list of custom reporters for the test suite.
+ --resetMocks Automatically reset mock state between every
+ test. Equivalent to calling
+ jest.resetAllMocks() between each test.
+ --resetModules If enabled, the module registry for every test
+ file will be reset before running each
+ individual test.
+ --resolver A JSON string which allows the use of a custom
+ resolver.
+ --restoreMocks Automatically restore mock state and
+ implementation between every test. Equivalent
+ to calling jest.restoreAllMocks() between each
+ test.
+ --rootDir The root directory that Jest should scan for
+ tests and modules within.
+ --roots A list of paths to directories that Jest should
+ use to search for files in.
+ -i --runInBand Run all tests serially in the current process
+ (rather than creating a worker pool of child
+ processes that run tests). This is sometimes
+ useful for debugging, but such use cases are
+ pretty rare.
+ --runTestsByPath Used when provided patterns are exact file
+ paths. This avoids converting them into a
+ regular expression and matching it against
+ every single file.
+ --runner Allows to use a custom runner instead of Jest's
+ default test runner.
+ --selectProjects Run only the tests of the specified
+ projects.Jest uses the attribute \`displayName\`
+ in the configuration to identify each project.
+ --setupFiles A list of paths to modules that run some code
+ to configure or set up the testing environment
+ before each test.
+ --setupFilesAfterEnv A list of paths to modules that run some code
+ to configure or set up the testing framework
+ before each test
+ --showConfig Print your jest config and then exits.
+ --silent Prevent tests from printing messages through
+ the console.
+ --skipFilter Disables the filter provided by --filter.
+ Useful for CI jobs, or local enforcement when
+ fixing tests.
+ --snapshotSerializers A list of paths to snapshot serializer modules
+ Jest should use for snapshot testing.
+ --testEnvironment Alias for --env
+ --testEnvironmentOptions Test environment options that will be passed to
+ the testEnvironment. The relevant options
+ depend on the environment.
+ --testFailureExitCode Exit code of \`jest\` command if the test run
+ failed
+ --testLocationInResults Add \`location\` information to the test results
+ --testMatch The glob patterns Jest uses to detect test
+ files.
+ -t --testNamePattern Run only tests with a name that matches the
+ regex pattern.
+ --testPathIgnorePatterns An array of regexp pattern strings that are
+ matched against all test paths before executing
+ the test. If the test path matches any of the
+ patterns, it will be skipped.
+ --testPathPattern A regexp pattern string that is matched against
+ all tests paths before executing the test.
+ --testRegex A string or array of string regexp patterns
+ that Jest uses to detect test files.
+ --testResultsProcessor Allows the use of a custom results processor.
+ This processor must be a node module that
+ exports a function expecting as the first
+ argument the result object.
+ --testRunner Allows to specify a custom test runner. The
+ default is \`jasmine2\`. A path to a custom test
+ runner can be provided:
+ \`<rootDir>/path/to/testRunner.js\`.
+ --testSequencer Allows to specify a custom test sequencer. The
+ default is \`@jest/test-sequencer\`. A path to a
+ custom test sequencer can be provided:
+ \`<rootDir>/path/to/testSequencer.js\`
+ --testTimeout This option sets the default timeouts of test
+ cases.
+ --testURL This option sets the URL for the jsdom
+ environment.
+ --timers Setting this value to fake allows the use of
+ fake timers for functions such as setTimeout.
+ --transform A JSON string which maps from regular
+ expressions to paths to transformers.
+ --transformIgnorePatterns An array of regexp pattern strings that are
+ matched against all source file paths before
+ transformation.
+ --unmockedModulePathPatterns An array of regexp pattern strings that are
+ matched against all modules before the module
+ loader will automatically return a mock for
+ them.
+ -u --updateSnapshot Use this flag to re-record snapshots. Can be
+ used together with a test suite pattern or with
+ \`--testNamePattern\` to re-record snapshot for
+ test matching the pattern
+ --useStderr Divert all output to stderr.
+ --verbose Display individual test results with the test
+ suite hierarchy.
+ --watch Watch files for changes and rerun tests related
+ to changed files. If you want to re-run all
+ tests when a file has changed, use the
+ \`--watchAll\` option.
+ --watchAll Watch files for changes and rerun all tests. If
+ you want to re-run only the tests related to
+ the changed files, use the \`--watch\` option.
+ --watchPathIgnorePatterns An array of regexp pattern strings that are
+ matched against all paths before trigger test
+ re-run in watch mode. If the test path matches
+ any of the patterns, it will be skipped.
+ --watchman Whether to use watchman for file crawling.
+ Disable using --no-watchman.
+ -h, --help display help for command
args 配置 > package.json中的 jest > jest.config.js > 默认配置
`,26),p=[t];function o(c,r,i,b,d,y){return a(),n("div",null,p)}const f=s(l,[["render",o]]);export{u as __pageData,f as default};
diff --git a/assets/reference_plugin_plugins_jest.md.05f57360.lean.js b/assets/reference_plugin_plugins_jest.md.05f57360.lean.js
new file mode 100644
index 00000000..25bda9a3
--- /dev/null
+++ b/assets/reference_plugin_plugins_jest.md.05f57360.lean.js
@@ -0,0 +1 @@
+import{_ as s,o as a,c as n,V as e}from"./chunks/framework.6405946a.js";const u=JSON.parse('{"title":"@fesjs/plugin-jest","description":"","frontmatter":{},"headers":[],"relativePath":"reference/plugin/plugins/jest.md"}'),l={name:"reference/plugin/plugins/jest.md"},t=e("",26),p=[t];function o(c,r,i,b,d,y){return a(),n("div",null,p)}const f=s(l,[["render",o]]);export{u as __pageData,f as default};
diff --git a/assets/reference_plugin_plugins_jest.md.e67f6ac7.lean.js b/assets/reference_plugin_plugins_jest.md.e67f6ac7.lean.js
deleted file mode 100644
index dbf7c242..00000000
--- a/assets/reference_plugin_plugins_jest.md.e67f6ac7.lean.js
+++ /dev/null
@@ -1 +0,0 @@
-import{_ as s,o as n,c as a,V as e}from"./chunks/framework.c1e1f082.js";const D=JSON.parse('{"title":"@fesjs/plugin-jest","description":"","frontmatter":{},"headers":[],"relativePath":"reference/plugin/plugins/jest.md"}'),l={name:"reference/plugin/plugins/jest.md"},t=e("",26),p=[t];function o(c,r,i,A,C,y){return n(),a("div",null,p)}const u=s(l,[["render",o]]);export{D as __pageData,u as default};
diff --git a/assets/reference_plugin_plugins_layout.md.45358f84.js b/assets/reference_plugin_plugins_layout.md.b0ad7720.js
similarity index 74%
rename from assets/reference_plugin_plugins_layout.md.45358f84.js
rename to assets/reference_plugin_plugins_layout.md.b0ad7720.js
index 8b936e92..70ab9320 100644
--- a/assets/reference_plugin_plugins_layout.md.45358f84.js
+++ b/assets/reference_plugin_plugins_layout.md.b0ad7720.js
@@ -1,102 +1,102 @@
-import{o as p,c as e,C as s,b as a,V as o,a as l,y as n}from"./chunks/framework.c1e1f082.js";const t=o(`
`,10),c=["src"],r=s("h3",{id:"top",tabindex:"-1"},[l("top "),s("a",{class:"header-anchor",href:"#top","aria-label":'Permalink to "top"'},"")],-1),i=["src"],D=s("h3",{id:"mixin",tabindex:"-1"},[l("mixin "),s("a",{class:"header-anchor",href:"#mixin","aria-label":'Permalink to "mixin"'},"")],-1),F=["src"],y=s("h3",{id:"left-right",tabindex:"-1"},[l("left-right "),s("a",{class:"header-anchor",href:"#left-right","aria-label":'Permalink to "left-right"'},"")],-1),C=["src"],d=o(`
`,10),c=["src"],r=s("h3",{id:"top",tabindex:"-1"},[l("top "),s("a",{class:"header-anchor",href:"#top","aria-label":'Permalink to "top"'},"")],-1),i=["src"],D=s("h3",{id:"mixin",tabindex:"-1"},[l("mixin "),s("a",{class:"header-anchor",href:"#mixin","aria-label":'Permalink to "mixin"'},"")],-1),F=["src"],y=s("h3",{id:"left-right",tabindex:"-1"},[l("left-right "),s("a",{class:"header-anchor",href:"#left-right","aria-label":'Permalink to "left-right"'},"")],-1),d=["src"],B=o(`
`,63),m=JSON.parse('{"title":"@fesjs/plugin-layout","description":"","frontmatter":{},"headers":[],"relativePath":"reference/plugin/plugins/layout.md"}'),A={name:"reference/plugin/plugins/layout.md"},b=Object.assign(A,{setup(u){return(g,h)=>(p(),e("div",null,[t,s("img",{src:a(n)("side.png"),alt:"side"},null,8,c),r,s("img",{src:a(n)("top.png"),alt:"top"},null,8,i),D,s("img",{src:a(n)("mixin.png"),alt:"mixin"},null,8,F),y,s("img",{src:a(n)("left-right.png"),alt:"left-right"},null,8,C),d]))}});export{m as __pageData,b as default};
+titleRef.value ='changed';
+</script>
`,63),f=JSON.parse('{"title":"@fesjs/plugin-layout","description":"","frontmatter":{},"headers":[],"relativePath":"reference/plugin/plugins/layout.md"}'),u={name:"reference/plugin/plugins/layout.md"},m=Object.assign(u,{setup(g){return(h,A)=>(p(),e("div",null,[t,s("img",{src:a(n)("side.png"),alt:"side"},null,8,c),r,s("img",{src:a(n)("top.png"),alt:"top"},null,8,i),D,s("img",{src:a(n)("mixin.png"),alt:"mixin"},null,8,F),y,s("img",{src:a(n)("left-right.png"),alt:"left-right"},null,8,d),B]))}});export{f as __pageData,m as default};
diff --git a/assets/reference_plugin_plugins_layout.md.45358f84.lean.js b/assets/reference_plugin_plugins_layout.md.b0ad7720.lean.js
similarity index 62%
rename from assets/reference_plugin_plugins_layout.md.45358f84.lean.js
rename to assets/reference_plugin_plugins_layout.md.b0ad7720.lean.js
index 3d6b411e..fb5b7a70 100644
--- a/assets/reference_plugin_plugins_layout.md.45358f84.lean.js
+++ b/assets/reference_plugin_plugins_layout.md.b0ad7720.lean.js
@@ -1 +1 @@
-import{o as p,c as e,C as s,b as a,V as o,a as l,y as n}from"./chunks/framework.c1e1f082.js";const t=o("",10),c=["src"],r=s("h3",{id:"top",tabindex:"-1"},[l("top "),s("a",{class:"header-anchor",href:"#top","aria-label":'Permalink to "top"'},"")],-1),i=["src"],D=s("h3",{id:"mixin",tabindex:"-1"},[l("mixin "),s("a",{class:"header-anchor",href:"#mixin","aria-label":'Permalink to "mixin"'},"")],-1),F=["src"],y=s("h3",{id:"left-right",tabindex:"-1"},[l("left-right "),s("a",{class:"header-anchor",href:"#left-right","aria-label":'Permalink to "left-right"'},"")],-1),C=["src"],d=o("",63),m=JSON.parse('{"title":"@fesjs/plugin-layout","description":"","frontmatter":{},"headers":[],"relativePath":"reference/plugin/plugins/layout.md"}'),A={name:"reference/plugin/plugins/layout.md"},b=Object.assign(A,{setup(u){return(g,h)=>(p(),e("div",null,[t,s("img",{src:a(n)("side.png"),alt:"side"},null,8,c),r,s("img",{src:a(n)("top.png"),alt:"top"},null,8,i),D,s("img",{src:a(n)("mixin.png"),alt:"mixin"},null,8,F),y,s("img",{src:a(n)("left-right.png"),alt:"left-right"},null,8,C),d]))}});export{m as __pageData,b as default};
+import{o as p,c as e,C as s,b as a,V as o,a as l,y as n}from"./chunks/framework.6405946a.js";const t=o("",10),c=["src"],r=s("h3",{id:"top",tabindex:"-1"},[l("top "),s("a",{class:"header-anchor",href:"#top","aria-label":'Permalink to "top"'},"")],-1),i=["src"],D=s("h3",{id:"mixin",tabindex:"-1"},[l("mixin "),s("a",{class:"header-anchor",href:"#mixin","aria-label":'Permalink to "mixin"'},"")],-1),F=["src"],y=s("h3",{id:"left-right",tabindex:"-1"},[l("left-right "),s("a",{class:"header-anchor",href:"#left-right","aria-label":'Permalink to "left-right"'},"")],-1),d=["src"],B=o("",63),f=JSON.parse('{"title":"@fesjs/plugin-layout","description":"","frontmatter":{},"headers":[],"relativePath":"reference/plugin/plugins/layout.md"}'),u={name:"reference/plugin/plugins/layout.md"},m=Object.assign(u,{setup(g){return(h,A)=>(p(),e("div",null,[t,s("img",{src:a(n)("side.png"),alt:"side"},null,8,c),r,s("img",{src:a(n)("top.png"),alt:"top"},null,8,i),D,s("img",{src:a(n)("mixin.png"),alt:"mixin"},null,8,F),y,s("img",{src:a(n)("left-right.png"),alt:"left-right"},null,8,d),B]))}});export{f as __pageData,m as default};
diff --git a/assets/reference_plugin_plugins_locale.md.0dc151e3.js b/assets/reference_plugin_plugins_locale.md.04a35919.js
similarity index 69%
rename from assets/reference_plugin_plugins_locale.md.0dc151e3.js
rename to assets/reference_plugin_plugins_locale.md.04a35919.js
index b96892b7..f18c088f 100644
--- a/assets/reference_plugin_plugins_locale.md.0dc151e3.js
+++ b/assets/reference_plugin_plugins_locale.md.04a35919.js
@@ -1,74 +1,74 @@
-import{_ as s,o as a,c as l,V as n}from"./chunks/framework.c1e1f082.js";const A=JSON.parse('{"title":"@fesjs/plugin-locale","description":"","frontmatter":{},"headers":[],"relativePath":"reference/plugin/plugins/locale.md"}'),o={name:"reference/plugin/plugins/locale.md"},p=n(`
`,55),e=[p];function t(c,r,D,y,F,i){return a(),l("div",null,e)}const u=s(o,[["render",t]]);export{B as __pageData,u as default};
diff --git a/assets/reference_plugin_plugins_locale.md.04a35919.lean.js b/assets/reference_plugin_plugins_locale.md.04a35919.lean.js
new file mode 100644
index 00000000..fb9bebd7
--- /dev/null
+++ b/assets/reference_plugin_plugins_locale.md.04a35919.lean.js
@@ -0,0 +1 @@
+import{_ as s,o as a,c as l,V as n}from"./chunks/framework.6405946a.js";const B=JSON.parse('{"title":"@fesjs/plugin-locale","description":"","frontmatter":{},"headers":[],"relativePath":"reference/plugin/plugins/locale.md"}'),o={name:"reference/plugin/plugins/locale.md"},p=n("",55),e=[p];function t(c,r,D,y,F,i){return a(),l("div",null,e)}const u=s(o,[["render",t]]);export{B as __pageData,u as default};
diff --git a/assets/reference_plugin_plugins_locale.md.0dc151e3.lean.js b/assets/reference_plugin_plugins_locale.md.0dc151e3.lean.js
deleted file mode 100644
index c917c964..00000000
--- a/assets/reference_plugin_plugins_locale.md.0dc151e3.lean.js
+++ /dev/null
@@ -1 +0,0 @@
-import{_ as s,o as a,c as l,V as n}from"./chunks/framework.c1e1f082.js";const A=JSON.parse('{"title":"@fesjs/plugin-locale","description":"","frontmatter":{},"headers":[],"relativePath":"reference/plugin/plugins/locale.md"}'),o={name:"reference/plugin/plugins/locale.md"},p=n("",55),e=[p];function t(c,r,D,y,F,i){return a(),l("div",null,e)}const d=s(o,[["render",t]]);export{A as __pageData,d as default};
diff --git a/assets/reference_plugin_plugins_login.md.7a14ea57.lean.js b/assets/reference_plugin_plugins_login.md.7a14ea57.lean.js
deleted file mode 100644
index d226eebe..00000000
--- a/assets/reference_plugin_plugins_login.md.7a14ea57.lean.js
+++ /dev/null
@@ -1 +0,0 @@
-import{_ as s,o as n,c as a,V as l}from"./chunks/framework.c1e1f082.js";const A=JSON.parse('{"title":"@fesjs/plugin-login","description":"","frontmatter":{},"headers":[],"relativePath":"reference/plugin/plugins/login.md"}'),o={name:"reference/plugin/plugins/login.md"},p=l("",8),e=[p];function t(c,r,D,i,F,y){return n(),a("div",null,e)}const u=s(o,[["render",t]]);export{A as __pageData,u as default};
diff --git a/assets/reference_plugin_plugins_login.md.7a14ea57.js b/assets/reference_plugin_plugins_login.md.fe8cf904.js
similarity index 70%
rename from assets/reference_plugin_plugins_login.md.7a14ea57.js
rename to assets/reference_plugin_plugins_login.md.fe8cf904.js
index 9182c199..b7eebe19 100644
--- a/assets/reference_plugin_plugins_login.md.7a14ea57.js
+++ b/assets/reference_plugin_plugins_login.md.fe8cf904.js
@@ -1,16 +1,16 @@
-import{_ as s,o as n,c as a,V as l}from"./chunks/framework.c1e1f082.js";const A=JSON.parse('{"title":"@fesjs/plugin-login","description":"","frontmatter":{},"headers":[],"relativePath":"reference/plugin/plugins/login.md"}'),o={name:"reference/plugin/plugins/login.md"},p=l(`
import{defineRuntimeConfig}from'@fesjs/fes';
+import{_ as s,o as n,c as a,V as l}from"./chunks/framework.6405946a.js";const u=JSON.parse('{"title":"@fesjs/plugin-login","description":"","frontmatter":{},"headers":[],"relativePath":"reference/plugin/plugins/login.md"}'),o={name:"reference/plugin/plugins/login.md"},p=l(`
import{defineRuntimeConfig}from'@fesjs/fes';
-exportdefaultdefineRuntimeConfig({
-login:{
-loginPath:'/login',// 登陆页面路径,默认 /login,也可以用路由的 name
-hasLogin(){
+exportdefaultdefineRuntimeConfig({
+login:{
+loginPath:'/login',// 登陆页面路径,默认 /login,也可以用路由的 name
+hasLogin(){// 进入页面前判断是否登陆的逻辑,每次跳转非登陆页面都会检测,直到为 true,支持异步returntrue;},
-},
-});
`,8),e=[p];function t(c,r,D,i,F,y){return n(),a("div",null,e)}const u=s(o,[["render",t]]);export{A as __pageData,u as default};
+},
+});
`,8),e=[p];function t(c,r,D,i,F,y){return n(),a("div",null,e)}const d=s(o,[["render",t]]);export{u as __pageData,d as default};
diff --git a/assets/reference_plugin_plugins_login.md.fe8cf904.lean.js b/assets/reference_plugin_plugins_login.md.fe8cf904.lean.js
new file mode 100644
index 00000000..c6f41204
--- /dev/null
+++ b/assets/reference_plugin_plugins_login.md.fe8cf904.lean.js
@@ -0,0 +1 @@
+import{_ as s,o as n,c as a,V as l}from"./chunks/framework.6405946a.js";const u=JSON.parse('{"title":"@fesjs/plugin-login","description":"","frontmatter":{},"headers":[],"relativePath":"reference/plugin/plugins/login.md"}'),o={name:"reference/plugin/plugins/login.md"},p=l("",8),e=[p];function t(c,r,D,i,F,y){return n(),a("div",null,e)}const d=s(o,[["render",t]]);export{u as __pageData,d as default};
diff --git a/assets/reference_plugin_plugins_model.md.f425528b.lean.js b/assets/reference_plugin_plugins_model.md.f425528b.lean.js
deleted file mode 100644
index 112f7e3c..00000000
--- a/assets/reference_plugin_plugins_model.md.f425528b.lean.js
+++ /dev/null
@@ -1 +0,0 @@
-import{_ as s,o as n,c as a,V as l}from"./chunks/framework.c1e1f082.js";const A=JSON.parse('{"title":"@fesjs/plugin-model","description":"","frontmatter":{},"headers":[],"relativePath":"reference/plugin/plugins/model.md"}'),o={name:"reference/plugin/plugins/model.md"},p=l("",22),e=[p];function t(c,r,F,y,D,i){return n(),a("div",null,e)}const d=s(o,[["render",t]]);export{A as __pageData,d as default};
diff --git a/assets/reference_plugin_plugins_model.md.f425528b.js b/assets/reference_plugin_plugins_model.md.f9382e16.js
similarity index 80%
rename from assets/reference_plugin_plugins_model.md.f425528b.js
rename to assets/reference_plugin_plugins_model.md.f9382e16.js
index 120dc904..3c867de8 100644
--- a/assets/reference_plugin_plugins_model.md.f425528b.js
+++ b/assets/reference_plugin_plugins_model.md.f9382e16.js
@@ -1,38 +1,38 @@
-import{_ as s,o as n,c as a,V as l}from"./chunks/framework.c1e1f082.js";const A=JSON.parse('{"title":"@fesjs/plugin-model","description":"","frontmatter":{},"headers":[],"relativePath":"reference/plugin/plugins/model.md"}'),o={name:"reference/plugin/plugins/model.md"},p=l(`
import{reactive}from'vue';
+import{_ as s,o as n,c as a,V as l}from"./chunks/framework.6405946a.js";const B=JSON.parse('{"title":"@fesjs/plugin-model","description":"","frontmatter":{},"headers":[],"relativePath":"reference/plugin/plugins/model.md"}'),o={name:"reference/plugin/plugins/model.md"},p=l(`
`,22),e=[p];function t(c,r,F,y,D,i){return n(),a("div",null,e)}const u=s(o,[["render",t]]);export{B as __pageData,u as default};
diff --git a/assets/reference_plugin_plugins_model.md.f9382e16.lean.js b/assets/reference_plugin_plugins_model.md.f9382e16.lean.js
new file mode 100644
index 00000000..dbe9503a
--- /dev/null
+++ b/assets/reference_plugin_plugins_model.md.f9382e16.lean.js
@@ -0,0 +1 @@
+import{_ as s,o as n,c as a,V as l}from"./chunks/framework.6405946a.js";const B=JSON.parse('{"title":"@fesjs/plugin-model","description":"","frontmatter":{},"headers":[],"relativePath":"reference/plugin/plugins/model.md"}'),o={name:"reference/plugin/plugins/model.md"},p=l("",22),e=[p];function t(c,r,F,y,D,i){return n(),a("div",null,e)}const u=s(o,[["render",t]]);export{B as __pageData,u as default};
diff --git a/assets/reference_plugin_plugins_pinia.md.ca5af68a.js b/assets/reference_plugin_plugins_pinia.md.2f77fc84.js
similarity index 73%
rename from assets/reference_plugin_plugins_pinia.md.ca5af68a.js
rename to assets/reference_plugin_plugins_pinia.md.2f77fc84.js
index f15690a2..fe2c9869 100644
--- a/assets/reference_plugin_plugins_pinia.md.ca5af68a.js
+++ b/assets/reference_plugin_plugins_pinia.md.2f77fc84.js
@@ -1,36 +1,36 @@
-import{_ as s,o as a,c as n,V as l}from"./chunks/framework.c1e1f082.js";const A=JSON.parse('{"title":"@fesjs/plugin-pinia","description":"","frontmatter":{},"headers":[],"relativePath":"reference/plugin/plugins/pinia.md"}'),p={name:"reference/plugin/plugins/pinia.md"},o=l(`
import{defineStore}from'pinia';
+import{_ as s,o as a,c as n,V as l}from"./chunks/framework.6405946a.js";const d=JSON.parse('{"title":"@fesjs/plugin-pinia","description":"","frontmatter":{},"headers":[],"relativePath":"reference/plugin/plugins/pinia.md"}'),p={name:"reference/plugin/plugins/pinia.md"},o=l(`
import{defineStore}from'pinia';// useStore could be anything like useUser, useCart// the first argument is a unique id of the store across your application
-exportconst useStore =defineStore('main',{
+exportconst useStore =defineStore('main',{// other options...
-});
import{pinia}from'@fesjs/fes';
-exportconst beforeRender ={
-loading:<PageLoading />,
-action(){
-const{setRole}=accessApi;
-returnnewPromise((resolve)=>{
+exportconst beforeRender ={
+loading:<PageLoading />,
+action(){
+const{setRole}=accessApi;
+returnnewPromise((resolve)=>{setTimeout(()=>{
-conststore=useStore(pinia);
-store.$patch({
+conststore=useStore(pinia);
+store.$patch({ userName:'李雷', role:'admin',});
@@ -38,4 +38,4 @@ import{_ as s,o as a,c as n,V as l}from"./chunks/framework.c1e1f082.js";const A=
},1000);});},
-};
`,23),e=[o];function t(c,r,F,D,y,i){return a(),n("div",null,e)}const d=s(p,[["render",t]]);export{A as __pageData,d as default};
+};
`,23),e=[o];function t(c,r,F,y,D,i){return a(),n("div",null,e)}const u=s(p,[["render",t]]);export{d as __pageData,u as default};
diff --git a/assets/reference_plugin_plugins_pinia.md.2f77fc84.lean.js b/assets/reference_plugin_plugins_pinia.md.2f77fc84.lean.js
new file mode 100644
index 00000000..245da471
--- /dev/null
+++ b/assets/reference_plugin_plugins_pinia.md.2f77fc84.lean.js
@@ -0,0 +1 @@
+import{_ as s,o as a,c as n,V as l}from"./chunks/framework.6405946a.js";const d=JSON.parse('{"title":"@fesjs/plugin-pinia","description":"","frontmatter":{},"headers":[],"relativePath":"reference/plugin/plugins/pinia.md"}'),p={name:"reference/plugin/plugins/pinia.md"},o=l("",23),e=[o];function t(c,r,F,y,D,i){return a(),n("div",null,e)}const u=s(p,[["render",t]]);export{d as __pageData,u as default};
diff --git a/assets/reference_plugin_plugins_pinia.md.ca5af68a.lean.js b/assets/reference_plugin_plugins_pinia.md.ca5af68a.lean.js
deleted file mode 100644
index 198629bc..00000000
--- a/assets/reference_plugin_plugins_pinia.md.ca5af68a.lean.js
+++ /dev/null
@@ -1 +0,0 @@
-import{_ as s,o as a,c as n,V as l}from"./chunks/framework.c1e1f082.js";const A=JSON.parse('{"title":"@fesjs/plugin-pinia","description":"","frontmatter":{},"headers":[],"relativePath":"reference/plugin/plugins/pinia.md"}'),p={name:"reference/plugin/plugins/pinia.md"},o=l("",23),e=[o];function t(c,r,F,D,y,i){return a(),n("div",null,e)}const d=s(p,[["render",t]]);export{A as __pageData,d as default};
diff --git a/assets/reference_plugin_plugins_qiankun.md.6d83cda5.lean.js b/assets/reference_plugin_plugins_qiankun.md.6d83cda5.lean.js
deleted file mode 100644
index b872de04..00000000
--- a/assets/reference_plugin_plugins_qiankun.md.6d83cda5.lean.js
+++ /dev/null
@@ -1 +0,0 @@
-import{_ as s,o as a,c as n,V as l}from"./chunks/framework.c1e1f082.js";const A=JSON.parse('{"title":"@fesjs/plugin-qiankun","description":"","frontmatter":{},"headers":[],"relativePath":"reference/plugin/plugins/qiankun.md"}'),p={name:"reference/plugin/plugins/qiankun.md"},o=l("",55),e=[o];function t(c,r,D,F,y,i){return a(),n("div",null,e)}const d=s(p,[["render",t]]);export{A as __pageData,d as default};
diff --git a/assets/reference_plugin_plugins_qiankun.md.6d83cda5.js b/assets/reference_plugin_plugins_qiankun.md.ae9723ba.js
similarity index 70%
rename from assets/reference_plugin_plugins_qiankun.md.6d83cda5.js
rename to assets/reference_plugin_plugins_qiankun.md.ae9723ba.js
index 9a590b1b..3d970160 100644
--- a/assets/reference_plugin_plugins_qiankun.md.6d83cda5.js
+++ b/assets/reference_plugin_plugins_qiankun.md.ae9723ba.js
@@ -1,170 +1,170 @@
-import{_ as s,o as a,c as n,V as l}from"./chunks/framework.c1e1f082.js";const A=JSON.parse('{"title":"@fesjs/plugin-qiankun","description":"","frontmatter":{},"headers":[],"relativePath":"reference/plugin/plugins/qiankun.md"}'),p={name:"reference/plugin/plugins/qiankun.md"},o=l(`
exportdefault{
-qiankun:{
-main:{
+import{_ as s,o as a,c as n,V as l}from"./chunks/framework.6405946a.js";const d=JSON.parse('{"title":"@fesjs/plugin-qiankun","description":"","frontmatter":{},"headers":[],"relativePath":"reference/plugin/plugins/qiankun.md"}'),p={name:"reference/plugin/plugins/qiankun.md"},o=l(`
如果我们的路由使用 history 模式,那么在使用乾坤时还算方便,主应用和子应用的路由根据 base 可以很方便的匹配起来,而且不存在冲突。但是当我们使用 hash 模式时,就问题很大,主应用和子应用的路由必须一样才可以匹配上,用起来贼不方便。而且不能在一个页面上同时加载多个子应用,路由存在冲突!这时候,<MicroAppWithMemoHistory /> 出现了,完美解决上面的问题。
`,55),e=[o];function t(c,r,D,F,y,i){return a(),n("div",null,e)}const E=s(p,[["render",t]]);export{d as __pageData,E as default};
diff --git a/assets/reference_plugin_plugins_qiankun.md.ae9723ba.lean.js b/assets/reference_plugin_plugins_qiankun.md.ae9723ba.lean.js
new file mode 100644
index 00000000..ba9178e5
--- /dev/null
+++ b/assets/reference_plugin_plugins_qiankun.md.ae9723ba.lean.js
@@ -0,0 +1 @@
+import{_ as s,o as a,c as n,V as l}from"./chunks/framework.6405946a.js";const d=JSON.parse('{"title":"@fesjs/plugin-qiankun","description":"","frontmatter":{},"headers":[],"relativePath":"reference/plugin/plugins/qiankun.md"}'),p={name:"reference/plugin/plugins/qiankun.md"},o=l("",55),e=[o];function t(c,r,D,F,y,i){return a(),n("div",null,e)}const E=s(p,[["render",t]]);export{d as __pageData,E as default};
diff --git a/assets/reference_plugin_plugins_request-4.md.9d66374b.js b/assets/reference_plugin_plugins_request-4.md.82b12411.js
similarity index 60%
rename from assets/reference_plugin_plugins_request-4.md.9d66374b.js
rename to assets/reference_plugin_plugins_request-4.md.82b12411.js
index f966ca89..d52fd6ef 100644
--- a/assets/reference_plugin_plugins_request-4.md.9d66374b.js
+++ b/assets/reference_plugin_plugins_request-4.md.82b12411.js
@@ -1,129 +1,127 @@
-import{_ as s,o as a,c as n,V as l}from"./chunks/framework.c1e1f082.js";const i=JSON.parse('{"title":"@fesjs/plugin-request","description":"","frontmatter":{},"headers":[],"relativePath":"reference/plugin/plugins/request-4.md"}'),p={name:"reference/plugin/plugins/request-4.md"},o=l(`
import{defineRuntimeConfig}from'@fesjs/fes';
+import{_ as s,o as a,c as n,V as l}from"./chunks/framework.6405946a.js";const A=JSON.parse('{"title":"@fesjs/plugin-request","description":"","frontmatter":{},"headers":[],"relativePath":"reference/plugin/plugins/request-4.md"}'),p={name:"reference/plugin/plugins/request-4.md"},o=l(`
`,31),e=[o];function t(c,r,D,y,F,B){return a(),n("div",null,e)}const E=s(p,[["render",t]]);export{A as __pageData,E as default};
diff --git a/assets/reference_plugin_plugins_request-4.md.82b12411.lean.js b/assets/reference_plugin_plugins_request-4.md.82b12411.lean.js
new file mode 100644
index 00000000..f9baecf1
--- /dev/null
+++ b/assets/reference_plugin_plugins_request-4.md.82b12411.lean.js
@@ -0,0 +1 @@
+import{_ as s,o as a,c as n,V as l}from"./chunks/framework.6405946a.js";const A=JSON.parse('{"title":"@fesjs/plugin-request","description":"","frontmatter":{},"headers":[],"relativePath":"reference/plugin/plugins/request-4.md"}'),p={name:"reference/plugin/plugins/request-4.md"},o=l("",31),e=[o];function t(c,r,D,y,F,B){return a(),n("div",null,e)}const E=s(p,[["render",t]]);export{A as __pageData,E as default};
diff --git a/assets/reference_plugin_plugins_request-4.md.9d66374b.lean.js b/assets/reference_plugin_plugins_request-4.md.9d66374b.lean.js
deleted file mode 100644
index 0d2bbe9a..00000000
--- a/assets/reference_plugin_plugins_request-4.md.9d66374b.lean.js
+++ /dev/null
@@ -1 +0,0 @@
-import{_ as s,o as a,c as n,V as l}from"./chunks/framework.c1e1f082.js";const i=JSON.parse('{"title":"@fesjs/plugin-request","description":"","frontmatter":{},"headers":[],"relativePath":"reference/plugin/plugins/request-4.md"}'),p={name:"reference/plugin/plugins/request-4.md"},o=l("",31),e=[o];function t(c,r,D,y,F,A){return a(),n("div",null,e)}const d=s(p,[["render",t]]);export{i as __pageData,d as default};
diff --git a/assets/reference_plugin_plugins_request.md.bfd9ee9a.js b/assets/reference_plugin_plugins_request.md.3de9ce26.js
similarity index 67%
rename from assets/reference_plugin_plugins_request.md.bfd9ee9a.js
rename to assets/reference_plugin_plugins_request.md.3de9ce26.js
index 25aefebc..d874fcb0 100644
--- a/assets/reference_plugin_plugins_request.md.bfd9ee9a.js
+++ b/assets/reference_plugin_plugins_request.md.3de9ce26.js
@@ -1,117 +1,117 @@
-import{_ as s,o as n,c as a,V as l}from"./chunks/framework.c1e1f082.js";const i=JSON.parse('{"title":"@fesjs/plugin-request","description":"","frontmatter":{},"headers":[],"relativePath":"reference/plugin/plugins/request.md"}'),p={name:"reference/plugin/plugins/request.md"},o=l(`
import{defineRuntimeConfig}from'@fesjs/fes';
+import{_ as s,o as n,c as a,V as l}from"./chunks/framework.6405946a.js";const E=JSON.parse('{"title":"@fesjs/plugin-request","description":"","frontmatter":{},"headers":[],"relativePath":"reference/plugin/plugins/request.md"}'),p={name:"reference/plugin/plugins/request.md"},o=l(`
`,26),e=[o];function t(c,r,D,F,y,C){return n(),a("div",null,e)}const d=s(p,[["render",t]]);export{i as __pageData,d as default};
+};
`,26),e=[o];function t(c,r,D,F,y,i){return n(),a("div",null,e)}const A=s(p,[["render",t]]);export{E as __pageData,A as default};
diff --git a/assets/reference_plugin_plugins_request.md.3de9ce26.lean.js b/assets/reference_plugin_plugins_request.md.3de9ce26.lean.js
new file mode 100644
index 00000000..851bf440
--- /dev/null
+++ b/assets/reference_plugin_plugins_request.md.3de9ce26.lean.js
@@ -0,0 +1 @@
+import{_ as s,o as n,c as a,V as l}from"./chunks/framework.6405946a.js";const E=JSON.parse('{"title":"@fesjs/plugin-request","description":"","frontmatter":{},"headers":[],"relativePath":"reference/plugin/plugins/request.md"}'),p={name:"reference/plugin/plugins/request.md"},o=l("",26),e=[o];function t(c,r,D,F,y,i){return n(),a("div",null,e)}const A=s(p,[["render",t]]);export{E as __pageData,A as default};
diff --git a/assets/reference_plugin_plugins_request.md.bfd9ee9a.lean.js b/assets/reference_plugin_plugins_request.md.bfd9ee9a.lean.js
deleted file mode 100644
index 91594d12..00000000
--- a/assets/reference_plugin_plugins_request.md.bfd9ee9a.lean.js
+++ /dev/null
@@ -1 +0,0 @@
-import{_ as s,o as n,c as a,V as l}from"./chunks/framework.c1e1f082.js";const i=JSON.parse('{"title":"@fesjs/plugin-request","description":"","frontmatter":{},"headers":[],"relativePath":"reference/plugin/plugins/request.md"}'),p={name:"reference/plugin/plugins/request.md"},o=l("",26),e=[o];function t(c,r,D,F,y,C){return n(),a("div",null,e)}const d=s(p,[["render",t]]);export{i as __pageData,d as default};
diff --git a/assets/reference_plugin_plugins_sass.md.9c97c518.js b/assets/reference_plugin_plugins_sass.md.dfed77bd.js
similarity index 84%
rename from assets/reference_plugin_plugins_sass.md.9c97c518.js
rename to assets/reference_plugin_plugins_sass.md.dfed77bd.js
index dd78e5fc..9b1828f7 100644
--- a/assets/reference_plugin_plugins_sass.md.9c97c518.js
+++ b/assets/reference_plugin_plugins_sass.md.dfed77bd.js
@@ -1,6 +1,6 @@
-import{_ as s,o as a,c as e,V as l}from"./chunks/framework.c1e1f082.js";const y=JSON.parse('{"title":"@fesjs/plugin-sass","description":"","frontmatter":{},"headers":[],"relativePath":"reference/plugin/plugins/sass.md"}'),o={name:"reference/plugin/plugins/sass.md"},n=l(`
`,12),p=[n];function t(c,r,i,D,d,F){return a(),e("div",null,p)}const h=s(o,[["render",t]]);export{y as __pageData,h as default};
+import{_ as s,o as a,c as e,V as l}from"./chunks/framework.6405946a.js";const y=JSON.parse('{"title":"@fesjs/plugin-sass","description":"","frontmatter":{},"headers":[],"relativePath":"reference/plugin/plugins/sass.md"}'),o={name:"reference/plugin/plugins/sass.md"},n=l(`
`,12),p=[n];function t(c,r,i,D,d,F){return a(),e("div",null,p)}const h=s(o,[["render",t]]);export{y as __pageData,h as default};
diff --git a/assets/reference_plugin_plugins_sass.md.9c97c518.lean.js b/assets/reference_plugin_plugins_sass.md.dfed77bd.lean.js
similarity index 68%
rename from assets/reference_plugin_plugins_sass.md.9c97c518.lean.js
rename to assets/reference_plugin_plugins_sass.md.dfed77bd.lean.js
index 5529906d..8b75ab63 100644
--- a/assets/reference_plugin_plugins_sass.md.9c97c518.lean.js
+++ b/assets/reference_plugin_plugins_sass.md.dfed77bd.lean.js
@@ -1 +1 @@
-import{_ as s,o as a,c as e,V as l}from"./chunks/framework.c1e1f082.js";const y=JSON.parse('{"title":"@fesjs/plugin-sass","description":"","frontmatter":{},"headers":[],"relativePath":"reference/plugin/plugins/sass.md"}'),o={name:"reference/plugin/plugins/sass.md"},n=l("",12),p=[n];function t(c,r,i,D,d,F){return a(),e("div",null,p)}const h=s(o,[["render",t]]);export{y as __pageData,h as default};
+import{_ as s,o as a,c as e,V as l}from"./chunks/framework.6405946a.js";const y=JSON.parse('{"title":"@fesjs/plugin-sass","description":"","frontmatter":{},"headers":[],"relativePath":"reference/plugin/plugins/sass.md"}'),o={name:"reference/plugin/plugins/sass.md"},n=l("",12),p=[n];function t(c,r,i,D,d,F){return a(),e("div",null,p)}const h=s(o,[["render",t]]);export{y as __pageData,h as default};
diff --git a/assets/reference_plugin_plugins_swc.md.dc3e99c1.js b/assets/reference_plugin_plugins_swc.md.4fe5d079.js
similarity index 68%
rename from assets/reference_plugin_plugins_swc.md.dc3e99c1.js
rename to assets/reference_plugin_plugins_swc.md.4fe5d079.js
index f58b35f3..fb6c8f24 100644
--- a/assets/reference_plugin_plugins_swc.md.dc3e99c1.js
+++ b/assets/reference_plugin_plugins_swc.md.4fe5d079.js
@@ -1,14 +1,14 @@
-import{_ as s,o as a,c as n,V as l}from"./chunks/framework.c1e1f082.js";const A=JSON.parse('{"title":"@fesjs/plugin-swc","description":"","frontmatter":{},"headers":[],"relativePath":"reference/plugin/plugins/swc.md"}'),o={name:"reference/plugin/plugins/swc.md"},p=l(`
`,9),e=[p];function t(c,r,D,F,i,y){return a(),n("div",null,e)}const d=s(o,[["render",t]]);export{A as __pageData,d as default};
+import{_ as s,o as a,c as n,V as l}from"./chunks/framework.6405946a.js";const d=JSON.parse('{"title":"@fesjs/plugin-swc","description":"","frontmatter":{},"headers":[],"relativePath":"reference/plugin/plugins/swc.md"}'),o={name:"reference/plugin/plugins/swc.md"},p=l(`
`,9),e=[p];function t(c,r,D,F,i,y){return a(),n("div",null,e)}const u=s(o,[["render",t]]);export{d as __pageData,u as default};
diff --git a/assets/reference_plugin_plugins_swc.md.dc3e99c1.lean.js b/assets/reference_plugin_plugins_swc.md.4fe5d079.lean.js
similarity index 51%
rename from assets/reference_plugin_plugins_swc.md.dc3e99c1.lean.js
rename to assets/reference_plugin_plugins_swc.md.4fe5d079.lean.js
index 29b35a2a..14f91e79 100644
--- a/assets/reference_plugin_plugins_swc.md.dc3e99c1.lean.js
+++ b/assets/reference_plugin_plugins_swc.md.4fe5d079.lean.js
@@ -1 +1 @@
-import{_ as s,o as a,c as n,V as l}from"./chunks/framework.c1e1f082.js";const A=JSON.parse('{"title":"@fesjs/plugin-swc","description":"","frontmatter":{},"headers":[],"relativePath":"reference/plugin/plugins/swc.md"}'),o={name:"reference/plugin/plugins/swc.md"},p=l("",9),e=[p];function t(c,r,D,F,i,y){return a(),n("div",null,e)}const d=s(o,[["render",t]]);export{A as __pageData,d as default};
+import{_ as s,o as a,c as n,V as l}from"./chunks/framework.6405946a.js";const d=JSON.parse('{"title":"@fesjs/plugin-swc","description":"","frontmatter":{},"headers":[],"relativePath":"reference/plugin/plugins/swc.md"}'),o={name:"reference/plugin/plugins/swc.md"},p=l("",9),e=[p];function t(c,r,D,F,i,y){return a(),n("div",null,e)}const u=s(o,[["render",t]]);export{d as __pageData,u as default};
diff --git a/assets/reference_plugin_plugins_vuex.md.ebec67ba.lean.js b/assets/reference_plugin_plugins_vuex.md.ebec67ba.lean.js
deleted file mode 100644
index 34c884db..00000000
--- a/assets/reference_plugin_plugins_vuex.md.ebec67ba.lean.js
+++ /dev/null
@@ -1 +0,0 @@
-import{_ as s,o as a,c as n,V as l}from"./chunks/framework.c1e1f082.js";const i=JSON.parse('{"title":"@fesjs/plugin-vuex","description":"","frontmatter":{},"headers":[],"relativePath":"reference/plugin/plugins/vuex.md"}'),p={name:"reference/plugin/plugins/vuex.md"},o=l("",35),e=[o];function t(c,r,F,D,y,C){return a(),n("div",null,e)}const u=s(p,[["render",t]]);export{i as __pageData,u as default};
diff --git a/assets/reference_plugin_plugins_vuex.md.ebec67ba.js b/assets/reference_plugin_plugins_vuex.md.fde7d292.js
similarity index 67%
rename from assets/reference_plugin_plugins_vuex.md.ebec67ba.js
rename to assets/reference_plugin_plugins_vuex.md.fde7d292.js
index 1f17c1ae..a9182a8f 100644
--- a/assets/reference_plugin_plugins_vuex.md.ebec67ba.js
+++ b/assets/reference_plugin_plugins_vuex.md.fde7d292.js
@@ -1,114 +1,114 @@
-import{_ as s,o as a,c as n,V as l}from"./chunks/framework.c1e1f082.js";const i=JSON.parse('{"title":"@fesjs/plugin-vuex","description":"","frontmatter":{},"headers":[],"relativePath":"reference/plugin/plugins/vuex.md"}'),p={name:"reference/plugin/plugins/vuex.md"},o=l(`
exportdefault{
-namespaced:true,
-state:()=> ({
-name:'aring',
-age:20,
-}),
-actions:{
-login(){
-returnnewPromise((reslove)=>{
+import{_ as s,o as a,c as n,V as l}from"./chunks/framework.6405946a.js";const A=JSON.parse('{"title":"@fesjs/plugin-vuex","description":"","frontmatter":{},"headers":[],"relativePath":"reference/plugin/plugins/vuex.md"}'),p={name:"reference/plugin/plugins/vuex.md"},o=l(`
`,35),e=[o];function t(c,r,F,D,y,i){return a(),n("div",null,e)}const E=s(p,[["render",t]]);export{A as __pageData,E as default};
diff --git a/assets/reference_plugin_plugins_vuex.md.fde7d292.lean.js b/assets/reference_plugin_plugins_vuex.md.fde7d292.lean.js
new file mode 100644
index 00000000..d62bbb6d
--- /dev/null
+++ b/assets/reference_plugin_plugins_vuex.md.fde7d292.lean.js
@@ -0,0 +1 @@
+import{_ as s,o as a,c as n,V as l}from"./chunks/framework.6405946a.js";const A=JSON.parse('{"title":"@fesjs/plugin-vuex","description":"","frontmatter":{},"headers":[],"relativePath":"reference/plugin/plugins/vuex.md"}'),p={name:"reference/plugin/plugins/vuex.md"},o=l("",35),e=[o];function t(c,r,F,D,y,i){return a(),n("div",null,e)}const E=s(p,[["render",t]]);export{A as __pageData,E as default};
diff --git a/assets/reference_plugin_plugins_watermark.md.0cecce74.lean.js b/assets/reference_plugin_plugins_watermark.md.0cecce74.lean.js
deleted file mode 100644
index 5b78e296..00000000
--- a/assets/reference_plugin_plugins_watermark.md.0cecce74.lean.js
+++ /dev/null
@@ -1 +0,0 @@
-import{_ as s,o as a,c as n,V as l}from"./chunks/framework.c1e1f082.js";const A=JSON.parse('{"title":"@fesjs/plugin-watermark","description":"","frontmatter":{},"headers":[],"relativePath":"reference/plugin/plugins/watermark.md"}'),p={name:"reference/plugin/plugins/watermark.md"},o=l("",19),e=[o];function t(c,r,F,D,y,i){return a(),n("div",null,e)}const d=s(p,[["render",t]]);export{A as __pageData,d as default};
diff --git a/assets/reference_plugin_plugins_watermark.md.0cecce74.js b/assets/reference_plugin_plugins_watermark.md.2bac5f24.js
similarity index 73%
rename from assets/reference_plugin_plugins_watermark.md.0cecce74.js
rename to assets/reference_plugin_plugins_watermark.md.2bac5f24.js
index 08cd9e28..0321009c 100644
--- a/assets/reference_plugin_plugins_watermark.md.0cecce74.js
+++ b/assets/reference_plugin_plugins_watermark.md.2bac5f24.js
@@ -1,30 +1,30 @@
-import{_ as s,o as a,c as n,V as l}from"./chunks/framework.c1e1f082.js";const A=JSON.parse('{"title":"@fesjs/plugin-watermark","description":"","frontmatter":{},"headers":[],"relativePath":"reference/plugin/plugins/watermark.md"}'),p={name:"reference/plugin/plugins/watermark.md"},o=l(`
import{createWatermark,destroyWatermark}from'@fesjs/fes';
+import{_ as s,o as a,c as n,V as l}from"./chunks/framework.6405946a.js";const d=JSON.parse('{"title":"@fesjs/plugin-watermark","description":"","frontmatter":{},"headers":[],"relativePath":"reference/plugin/plugins/watermark.md"}'),p={name:"reference/plugin/plugins/watermark.md"},o=l(`
`,19),e=[o];function t(c,r,F,D,y,i){return a(),n("div",null,e)}const E=s(p,[["render",t]]);export{d as __pageData,E as default};
diff --git a/assets/reference_plugin_plugins_watermark.md.2bac5f24.lean.js b/assets/reference_plugin_plugins_watermark.md.2bac5f24.lean.js
new file mode 100644
index 00000000..c26850fa
--- /dev/null
+++ b/assets/reference_plugin_plugins_watermark.md.2bac5f24.lean.js
@@ -0,0 +1 @@
+import{_ as s,o as a,c as n,V as l}from"./chunks/framework.6405946a.js";const d=JSON.parse('{"title":"@fesjs/plugin-watermark","description":"","frontmatter":{},"headers":[],"relativePath":"reference/plugin/plugins/watermark.md"}'),p={name:"reference/plugin/plugins/watermark.md"},o=l("",19),e=[o];function t(c,r,F,D,y,i){return a(),n("div",null,e)}const E=s(p,[["render",t]]);export{d as __pageData,E as default};
diff --git a/assets/reference_plugin_plugins_windicss.md.a83e9555.js b/assets/reference_plugin_plugins_windicss.md.ad5b65a1.js
similarity index 75%
rename from assets/reference_plugin_plugins_windicss.md.a83e9555.js
rename to assets/reference_plugin_plugins_windicss.md.ad5b65a1.js
index 60d8643c..774dee5d 100644
--- a/assets/reference_plugin_plugins_windicss.md.a83e9555.js
+++ b/assets/reference_plugin_plugins_windicss.md.ad5b65a1.js
@@ -1,9 +1,9 @@
-import{_ as s,o as a,c as n,V as e}from"./chunks/framework.c1e1f082.js";const u=JSON.parse('{"title":"@fesjs/plugin-windicss","description":"","frontmatter":{},"headers":[],"relativePath":"reference/plugin/plugins/windicss.md"}'),l={name:"reference/plugin/plugins/windicss.md"},o=e(`
exportdefault{
-windicss:{
-root:'./',
-},
+import{_ as s,o as a,c as n,V as e}from"./chunks/framework.6405946a.js";const u=JSON.parse('{"title":"@fesjs/plugin-windicss","description":"","frontmatter":{},"headers":[],"relativePath":"reference/plugin/plugins/windicss.md"}'),l={name:"reference/plugin/plugins/windicss.md"},o=e(`