diff --git a/README.md b/README.md index 7b8f43d..0391e13 100644 --- a/README.md +++ b/README.md @@ -102,7 +102,7 @@ export default defineConfig({ entry: 'src/main.ts', filename: 'index.html', template: 'public/index.html', - injectOptions: { + inject: { data: { title: 'index', injectScript: ``, @@ -122,7 +122,7 @@ export default defineConfig({ entry: 'src/other-main.ts', filename: 'other.html', template: 'public/other.html', - injectOptions: { + inject: { data: { title: 'other page', injectScript: ``,