diff --git a/mo-home.js b/mo-home.js index e7d945a..87fcaf7 100644 --- a/mo-home.js +++ b/mo-home.js @@ -1,7 +1,13 @@ -const App = new Vue({ - el: "#button-vue", - data: { - buttonTextInactive: "Leer más", - buttonTextActive: "Leer menos" +{/* Leer más */} + + +const app = createApp({ + data() { + return { + readMoreText: "Leer más", + readMoreIcon: "fa fa-arrow-right", + } } -}); \ No newline at end of file + }) + +app.mount('#mo-home-vue-app') diff --git a/test.html b/test.html new file mode 100644 index 0000000..5920477 --- /dev/null +++ b/test.html @@ -0,0 +1,31 @@ + + +
+ + + +