From f0e88dbc8d06f19a2abf340c3e51a2a6b068d3d4 Mon Sep 17 00:00:00 2001
From: thesved <2893181+thesved@users.noreply.github.com>
Date: Mon, 2 Jan 2023 20:49:58 +0100
Subject: [PATCH] Fix multi-page application configuration example
it should be `inject` similarly to SPA, instead of `injectOptions`
---
README.md | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
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: ``,