mirror of
https://github.com/WeBankFinTech/fes.js.git
synced 2025-04-06 03:59:53 +08:00
docs: 优化 runtime 文档
This commit is contained in:
parent
9d40f46c56
commit
74cffdf4a3
@ -28,7 +28,7 @@ const runtimeConfig = plugin.applyPlugins({
|
|||||||
|
|
||||||
```js
|
```js
|
||||||
// app.js
|
// app.js
|
||||||
import { defineBuildConfig } from '@fesjs/fes';
|
import { defineRuntimeConfig } from '@fesjs/fes';
|
||||||
|
|
||||||
export default defineRuntimeConfig({
|
export default defineRuntimeConfig({
|
||||||
access: memo => ({
|
access: memo => ({
|
||||||
@ -55,7 +55,7 @@ export default defineRuntimeConfig({
|
|||||||
|
|
||||||
```js
|
```js
|
||||||
// app.js
|
// app.js
|
||||||
import { defineBuildConfig } from '@fesjs/fes';
|
import { defineRuntimeConfig } from '@fesjs/fes';
|
||||||
|
|
||||||
export default defineRuntimeConfig({
|
export default defineRuntimeConfig({
|
||||||
access: memo => ({
|
access: memo => ({
|
||||||
|
Loading…
x
Reference in New Issue
Block a user