Skip to content

Commit

Permalink
vue@2.6.14 -> vue@3.4.27
Browse files Browse the repository at this point in the history
  • Loading branch information
zzzmisa committed May 10, 2024
1 parent 4f0f228 commit c634c00
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 24 deletions.
6 changes: 3 additions & 3 deletions en/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@
<!-- My Style -->
<link href="../css/style.css" rel="stylesheet">
<!-- Vue.js -->
<!-- 開発版 <script src="https://cdn.jsdelivr.net/npm/vue@2.6.14/dist/vue.js"></script> -->
<script src="https://cdn.jsdelivr.net/npm/vue@2.6.14"></script>
<!-- 開発版 <script src="https://unpkg.com/vue@3.4.27/dist/vue.global.js"></script> -->
<script src="https://unpkg.com/vue@3.4.27/dist/vue.global.prod.js"></script>
<!-- Fuse.js -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/fuse.js/3.3.0/fuse.min.js"></script>
<!-- Html2canvas -->
Expand Down Expand Up @@ -258,7 +258,7 @@ <h2 class="subtitle">Free generator of simple featured images and Open Graph ima
<template v-for="f in fonts">
<div class="column is-4">
<a class="box" v-text="f.name" v-bind:style="{ fontFamily: f.fontFamily }"
v-on:click="selectFont(f); fontsModalFlg=false"><br><br><br><br><br></a>
v-on:click="selectFont(f); fontsModalFlg=false"></a>
</div>
</template>
</div>
Expand Down
6 changes: 3 additions & 3 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@
<!-- My Style -->
<link href="css/style.css" rel="stylesheet">
<!-- Vue.js -->
<!-- 開発版 <script src="https://cdn.jsdelivr.net/npm/vue@2.6.14/dist/vue.js"></script> -->
<script src="https://cdn.jsdelivr.net/npm/vue@2.6.14"></script>
<!-- 開発版 <script src="https://unpkg.com/vue@3.4.27/dist/vue.global.js"></script> -->
<script src="https://unpkg.com/vue@3.4.27/dist/vue.global.prod.js"></script>
<!-- Fuse.js -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/fuse.js/3.3.0/fuse.min.js"></script>
<!-- Html2canvas -->
Expand Down Expand Up @@ -259,7 +259,7 @@ <h2 class="subtitle">アイキャッチ画像・OGP画像が簡単に作れる
<template v-for="f in fonts">
<div class="column is-4">
<a class="box" v-text="f.name" v-bind:style="{ fontFamily: f.fontFamily }"
v-on:click="selectFont(f); fontsModalFlg=false"><br><br><br><br><br></a>
v-on:click="selectFont(f); fontsModalFlg=false"></a>
</div>
</template>
</div>
Expand Down
39 changes: 21 additions & 18 deletions js/index.js
Original file line number Diff line number Diff line change
@@ -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;
Expand Down Expand Up @@ -141,3 +143,4 @@ const app = new Vue({
},
},
});
app.mount("#app");

0 comments on commit c634c00

Please sign in to comment.