diff --git a/docs/guide/runtime-config.md b/docs/guide/runtime-config.md index cfc8222e..8ea35e6d 100644 --- a/docs/guide/runtime-config.md +++ b/docs/guide/runtime-config.md @@ -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 => ({