diff --git a/index.html b/index.html
index aeef81c1e..9bc8ad0bb 100644
--- a/index.html
+++ b/index.html
@@ -84,6 +84,58 @@
},
pathNamespaces: ['/es', '/de-de', '/ru-ru', '/zh-cn'],
},
+ vueComponents: {
+ 'button-counter': {
+ template: /* html */ ``,
+ data() {
+ return {
+ count: 0,
+ };
+ },
+ },
+ },
+ vueGlobalOptions: {
+ data() {
+ return {
+ count: 0,
+ message: 'Hello, World!',
+ // Fake API response
+ images: [
+ { title: 'Image 1', url: 'https://picsum.photos/150?random=1' },
+ { title: 'Image 2', url: 'https://picsum.photos/150?random=2' },
+ { title: 'Image 3', url: 'https://picsum.photos/150?random=3' },
+ ],
+ };
+ },
+ computed: {
+ timeOfDay() {
+ const date = new Date();
+ const hours = date.getHours();
+
+ if (hours < 12) {
+ return 'morning';
+ } else if (hours < 18) {
+ return 'afternoon';
+ } else {
+ return 'evening';
+ }
+ },
+ },
+ methods: {
+ hello() {
+ alert(this.message);
+ },
+ },
+ },
+ vueMounts: {
+ '#counter': {
+ data() {
+ return {
+ count: 0,
+ };
+ },
+ },
+ },
plugins: [
DocsifyCarbon.create('CEBI6KQE', 'docsifyjsorg'),
function (hook, vm) {
@@ -121,5 +173,7 @@
+
+