diff --git a/en/index.html b/en/index.html index bf0ee09..8e68467 100644 --- a/en/index.html +++ b/en/index.html @@ -34,8 +34,8 @@ - - + + @@ -258,7 +258,7 @@

Free generator of simple featured images and Open Graph ima diff --git a/index.html b/index.html index 22b5ea0..86343cf 100644 --- a/index.html +++ b/index.html @@ -34,8 +34,8 @@ - - + + @@ -259,7 +259,7 @@

アイキャッチ画像・OGP画像が簡単に作れる diff --git a/js/index.js b/js/index.js index 90dd8c5..bf4f38b 100644 --- a/js/index.js +++ b/js/index.js @@ -1,25 +1,27 @@ +const { createApp } = Vue; import icons from "./icons.js"; import webgradients from "./webgradients.js"; import fonts from "./fonts.js"; -const app = new Vue({ - el: "#app", - data: { - iconsModalFlg: false, - gradientsModalFlg: false, - fontsModalFlg: false, - title: "Eye Catch Maker", - title_en: "Featured image maker", - icon: "fa fa-eye", - color: "to left top, #05FBFF, #1E00FF", - width: 780, - height: 520, - font: fonts[1], - keyword: "", - isDownloading: false, - zoomPercentage: 100, - imageData: "", - imageName: "", +const app = createApp({ + data() { + return { + iconsModalFlg: false, + gradientsModalFlg: false, + fontsModalFlg: false, + title: "Eye Catch Maker", + title_en: "Featured image maker", + icon: "fa fa-eye", + color: "to left top, #05FBFF, #1E00FF", + width: 780, + height: 520, + font: fonts[1], + keyword: "", + isDownloading: false, + zoomPercentage: 100, + imageData: "", + imageName: "", + }; }, mounted() { var w = document.getElementById("preview").clientWidth; @@ -141,3 +143,4 @@ const app = new Vue({ }, }, }); +app.mount("#app");