docs: 优化 runtime 文档

This commit is contained in:
winixt 2022-05-25 14:59:05 +08:00
parent 9d40f46c56
commit 74cffdf4a3

View File

@ -28,7 +28,7 @@ const runtimeConfig = plugin.applyPlugins({
```js
// app.js
import { defineBuildConfig } from '@fesjs/fes';
import { defineRuntimeConfig } from '@fesjs/fes';
export default defineRuntimeConfig({
access: memo => ({
@ -55,7 +55,7 @@ export default defineRuntimeConfig({
```js
// app.js
import { defineBuildConfig } from '@fesjs/fes';
import { defineRuntimeConfig } from '@fesjs/fes';
export default defineRuntimeConfig({
access: memo => ({