diff --git a/docs/app.config.ts b/docs/app.config.ts index 702517ad4..9bea0e20c 100644 --- a/docs/app.config.ts +++ b/docs/app.config.ts @@ -1,4 +1,9 @@ export default defineAppConfig({ + versions: [ + // `current` marks the version served by this deployment. + { label: '2.x', href: 'https://pinia-orm.codedredd.de', current: true }, + { label: '1.x', href: 'https://v1.pinia-orm.codedredd.de' }, + ], docus: { title: 'Pinia ORM', description: 'The Pinia plugin to enable Object-Relational Mapping access to the Pinia Store.', diff --git a/docs/components/AppHeader.vue b/docs/components/AppHeader.vue new file mode 100644 index 000000000..adf224bf0 --- /dev/null +++ b/docs/components/AppHeader.vue @@ -0,0 +1,171 @@ + + + + + diff --git a/docs/components/AppVersionSelect.vue b/docs/components/AppVersionSelect.vue new file mode 100644 index 000000000..9e3efe8dc --- /dev/null +++ b/docs/components/AppVersionSelect.vue @@ -0,0 +1,67 @@ + + + + +