{"id":4625,"date":"2019-09-10T00:59:20","date_gmt":"2019-09-09T15:59:20","guid":{"rendered":"https:\/\/blog.capilano-fw.com\/?p=4625"},"modified":"2019-09-14T17:39:00","modified_gmt":"2019-09-14T08:39:00","slug":"%e3%80%90vue%e3%80%91%e3%83%91%e3%82%b9%e3%83%af%e3%83%bc%e3%83%89%e3%81%ae%e5%bc%b7%e5%bc%b1%e3%82%92%e3%83%aa%e3%82%a2%e3%83%ab%e3%82%bf%e3%82%a4%e3%83%a0%e3%81%a7%e8%a1%a8%e7%a4%ba%e3%81%99","status":"publish","type":"post","link":"https:\/\/blog.capilano-fw.com\/?p=4625","title":{"rendered":"\u3010Vue\u3011\u30d1\u30b9\u30ef\u30fc\u30c9\u306e\u5f37\u5f31\u3092\u30ea\u30a2\u30eb\u30bf\u30a4\u30e0\u3067\u8868\u793a\u3059\u308b\uff08DL\u53ef\uff09"},"content":{"rendered":"<p>\u3055\u3066\u3055\u3066\u3001\u524d\u56de\u306e<a href=\"https:\/\/blog.capilano-fw.com\/?p=4562\">Vue\u3067\u30bb\u30ec\u30af\u30c8\u30dc\u30c3\u30af\u30b9\u3001\u30e9\u30b8\u30aa\u30dc\u30bf\u30f3\u3001\u30c1\u30a7\u30c3\u30af\u30dc\u30c3\u30af\u30b9\u3092\u9023\u52d5\u3059\u308b<\/a>\u3068\u3044\u3046\u8a18\u4e8b\u3067\u4e45\u3057\u3076\u308a\u306b<code>Vue<\/code>\u306e\u8a71\u984c\u3092\u304a\u5c4a\u3051\u3057\u307e\u3057\u305f\u306e\u3067\u3001\u305d\u306e\u6d41\u308c\u3067\u4eca\u56de\u3082<code>Vue<\/code>\u306e\u57fa\u672c\u30c6\u30af\u30cb\u30c3\u30af\u3092\u7d39\u4ecb\u3057\u307e\u3059\u3002<\/p>\n<p>\u305d\u3057\u3066\u3001\u4eca\u56de\u306e\u30c6\u30fc\u30de\u306f\u3001<\/p>\n<p><strong style=\"font-size: 35px;\">\u5165\u529b\u3055\u308c\u305f\u30d1\u30b9\u30ef\u30fc\u30c9\u306e\u5f37\u5f31\u3092\u30ea\u30a2\u30eb\u30bf\u30a4\u30e0\u3067\u8868\u793a\u3059\u308b<\/strong><\/p>\n<p>\u3068\u3044\u3046\u3082\u306e\u3067\u3059\u3002<\/p>\n<p>\u3061\u306a\u307f\u306b\u3001\u306a\u305c\u3053\u306e\u6a5f\u80fd\u3092\u4f5c\u3063\u3066\u307f\u305f\u304f\u306a\u3063\u305f\u304b\u3068\u3044\u3046\u3068\u3001\u5b9f\u306f<code>wordpress<\/code>\u306b\u3082\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u540c\u3058\u6a5f\u80fd\u304c\u3064\u3044\u3066\u3044\u308b\u306e\u3067\u3001\u3044\u3064\u304b<code>Vue<\/code>\u3067\u3082\u4f5c\u3063\u3066\u307f\u305f\u304f\u306a\u3063\u305f\u3093\u3067\u3059\u306d\u3002<\/p>\n<p><strong>\u3010wordpress\u306e\u30d1\u30b9\u30ef\u30fc\u30c9\u5165\u529b\u30b5\u30f3\u30d7\u30eb\u3011<\/strong><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-4626\" style=\"border: 3px solid #000;\" src=\"https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2019\/09\/vue_password_strength_1.png\" alt=\"\" width=\"470\" height=\"92\" srcset=\"https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2019\/09\/vue_password_strength_1.png 470w, https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2019\/09\/vue_password_strength_1-300x59.png 300w\" sizes=\"auto, (max-width: 470px) 100vw, 470px\" \/><\/p>\n<p>\u3068\u3044\u3046\u3053\u3068\u3067\u3001\u4eca\u56de\u306f<code>Vue<\/code>\u3092\u4f7f\u3063\u3066\u3053\u306e<strong>\u300c\u30d1\u30b9\u30ef\u30fc\u30c9\u5f37\u5f31\u306e\u30ea\u30a2\u30eb\u30bf\u30a4\u30e0\u8868\u793a\u300d<\/strong>\u3092\u5b9f\u88c5\u3057\u3066\u307f\u307e\u3059\u3002\uff08\u6700\u5f8c\u306b\u4eca\u56de\u5b9f\u969b\u306b\u958b\u767a\u3057\u305f\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u4e00\u5f0f\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3067\u304d\u307e\u3059\uff01\uff09<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2158 aligncenter\" src=\"https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2018\/11\/29.png\" alt=\"\" width=\"170\" height=\"320\" srcset=\"https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2018\/11\/29.png 170w, https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2018\/11\/29-159x300.png 159w\" sizes=\"auto, (max-width: 170px) 100vw, 170px\" \/><\/p>\n<p><strong>\u958b\u767a\u74b0\u5883\uff1a<\/strong> Vue 2.6\u3001Tailwind 1.0<\/p>\n<h1>\u3053\u306e\u8a18\u4e8b\u3092\u8aad\u3093\u3067\u5b9f\u88c5\u3067\u304d\u308b\u3082\u306e<\/h1>\n<p>\u307e\u305a\u3053\u306e\u8a18\u4e8b\u3067\u958b\u767a\u3067\u304d\u308b\u6a5f\u80fd\u306f\u6b21\u306e\u3088\u3046\u306a\u3082\u306e\u3067\u3059\u3002<\/p>\n<p><iframe loading=\"lazy\" title=\"Vue\u3067\u30d1\u30b9\u30ef\u30fc\u30c9\u306e\u5f37\u5f31\u3092\u30ea\u30a2\u30eb\u30bf\u30a4\u30e0\u8868\u793a\u3059\u308b\u30b5\u30f3\u30d7\u30eb\" width=\"525\" height=\"394\" src=\"https:\/\/www.youtube.com\/embed\/qUBn4hjuSzE?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe><\/p>\n<h1>\u5b9f\u969b\u306e\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9<\/h1>\n<p>\u3067\u306f\u3001\u307e\u305a\u306f\u5b9f\u969b\u306e\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<pre>&lt;html&gt;\r\n&lt;head&gt;\r\n    <strong>&lt;link href=\"https:\/\/unpkg.com\/tailwindcss@^1.0\/dist\/tailwind.min.css\" rel=\"stylesheet\"&gt;<\/strong>\r\n&lt;\/head&gt;\r\n&lt;body&gt;\r\n    &lt;h1 class=\"text-center md:text-2xl sm:text-sm m-5\"&gt;Vue\u3067\u30d1\u30b9\u30ef\u30fc\u30c9\u306e\u5f37\u5f31\u3092\u30ea\u30a2\u30eb\u30bf\u30a4\u30e0\u8868\u793a\u3059\u308b&lt;\/h1&gt;\r\n    &lt;div id=\"app\" class=\"flex\"&gt;\r\n        &lt;div class=\"md:w-1\/3\"&gt;&lt;\/div&gt;\r\n        &lt;div class=\"md:w-1\/3 w-full\"&gt;\r\n\r\n            &lt;form class=\"p-3\"&gt;\r\n                &lt;label class=\"block uppercase tracking-wide text-gray-700 text-xs font-bold mb-2\" for=\"grid-password\"&gt;\r\n                    \u30d1\u30b9\u30ef\u30fc\u30c9\r\n                &lt;\/label&gt;\r\n                &lt;div class=\"flex flex-wrap items-stretch w-full relative\"&gt;\r\n                    <strong>&lt;input<\/strong>\r\n<strong>                        ref=\"password\"<\/strong>\r\n<strong>                        type=\"password\"<\/strong>\r\n<strong>                        class=\"w-px flex-1 border h-10 bg-gray-200 text-gray-700 border border-gray-200 rounded rounded-r-none py-3 px-4 focus:outline-none focus:bg-white focus:border-gray-500\"<\/strong>\r\n<strong>                        placeholder=\"******************\"<\/strong>\r\n<strong>                        v-model=\"password\"&gt;<\/strong>\r\n                    &lt;div class=\"flex -mr-px\"&gt;\r\n                        <strong>&lt;button<\/strong>\r\n<strong>                            type=\"button\"<\/strong>\r\n<strong>                            class=\"flex items-center leading-normal bg-grey-lighter rounded rounded-l-none border border-l-0 border-grey-light px-3 whitespace-no-wrap text-grey-dark text-sm\"<\/strong>\r\n<strong>                            v-text=\"passwordVisibilityText\"<\/strong>\r\n<strong>                            @click=\"changePasswordVisibility\"&gt;&lt;\/button&gt;<\/strong>\r\n                    &lt;\/div&gt;\r\n                &lt;\/div&gt;\r\n                <strong>&lt;p :class=\"passwordMessageCss\" v-text=\"passwordMessage\"&gt;&lt;\/p&gt;<\/strong>\r\n            &lt;\/form&gt;\r\n\r\n        &lt;\/div&gt;\r\n        &lt;div class=\"md:w-1\/3\"&gt;&lt;\/div&gt;\r\n    &lt;\/div&gt;\r\n    &lt;script src=\"https:\/\/cdn.jsdelivr.net\/npm\/vue@2.6.0\"&gt;&lt;\/script&gt;\r\n    &lt;script&gt;\r\n\r\n        new Vue({\r\n            el: '#app',\r\n            data: {\r\n                password: '',\r\n                showPassword: false\r\n            },\r\n            methods: {\r\n                <strong>changePasswordVisibility() {    \/\/ \u30d1\u30b9\u30ef\u30fc\u30c9\u8868\u793a\uff0f\u975e\u8868\u793a\u3092\u5207\u308a\u66ff\u3048\r\n\r\n                    this.showPassword = !this.showPassword;\r\n                    this.$refs.password.type = ((this.showPassword)) ? 'text' : 'password';\r\n                    this.$refs.password.focus();\r\n\r\n                }<\/strong>\r\n            },\r\n            computed: {\r\n                <strong>passwordScore() {   \/\/ \u30d1\u30b9\u30ef\u30fc\u30c9\u306e\u5f37\u3055\u3092\u8a08\u7b97<\/strong>\r\n\r\n<strong>                    let score = 0;<\/strong>\r\n\r\n<strong>                    if(this.password.length &gt;= 11) {<\/strong>\r\n\r\n<strong>                        score += 10;    \/\/ \u9577\u3055\u304c11\u6587\u5b57\u4ee5\u4e0a\u3042\u308b\u304b<\/strong>\r\n\r\n<strong>                    }<\/strong>\r\n\r\n<strong>                    const patterns =  [<\/strong>\r\n<strong>                        \/\\d\/,           \/\/ \u6570\u5b57\u304c\u3042\u308b\u304b<\/strong>\r\n<strong>                        \/[a-z]\/,        \/\/ \u5c0f\u6587\u5b57\u306e\u30a2\u30eb\u30d5\u30a1\u30d9\u30c3\u30c8\u304c\u3042\u308b\u304b<\/strong>\r\n<strong>                        \/[A-Z]\/,        \/\/ \u5927\u6587\u5b57\u306e\u30a2\u30eb\u30d5\u30a1\u30d9\u30c3\u30c8\u304c\u3042\u308b\u304b<\/strong>\r\n<strong>                        \/[^a-zA-Z0-9]\/  \/\/ \u6570\u5b57\u30fb\u30a2\u30eb\u30d5\u30a1\u30d9\u30c3\u30c8\u4ee5\u5916\u306e\u6587\u5b57<\/strong>\r\n<strong>                    ];<\/strong>\r\n\r\n<strong>                    patterns.forEach((pattern) =&gt; {<\/strong>\r\n\r\n<strong>                        if(this.password.match(pattern)) {<\/strong>\r\n\r\n<strong>                            score += 10;<\/strong>\r\n\r\n<strong>                        }<\/strong>\r\n\r\n<strong>                    });<\/strong>\r\n\r\n<strong>                    return score;<\/strong>\r\n\r\n<strong>                },<\/strong>\r\n<strong>                passwordMessage() {<\/strong>\r\n\r\n<strong>                    let message = '';<\/strong>\r\n<strong>                    const score = this.passwordScore;<\/strong>\r\n\r\n<strong>                    if(score &gt;= 50) {<\/strong>\r\n\r\n<strong>                        message = '\u975e\u5e38\u306b\u5f37\u529b';<\/strong>\r\n\r\n<strong>                    } else if(score &gt;= 40) {<\/strong>\r\n\r\n<strong>                        message = '\u5f37\u529b';<\/strong>\r\n\r\n<strong>                    } else if(score &gt;= 30) {<\/strong>\r\n\r\n<strong>                        message = '\u666e\u901a';<\/strong>\r\n\r\n<strong>                    } else if(score &gt;= 20) {<\/strong>\r\n\r\n<strong>                        message = '\u8106\u5f31';<\/strong>\r\n\r\n<strong>                    } else if(score &gt;= 10) {<\/strong>\r\n\r\n<strong>                        message = '\u975e\u5e38\u306b\u8106\u5f31';<\/strong>\r\n\r\n<strong>                    }<\/strong>\r\n\r\n<strong>                    return message;<\/strong>\r\n\r\n<strong>                },<\/strong>\r\n<strong>                passwordMessageCss() {<\/strong>\r\n\r\n<strong>                    let css = [<\/strong>\r\n<strong>                        'text-gray-600',<\/strong>\r\n<strong>                        'text-xs',<\/strong>\r\n<strong>                        'italic',<\/strong>\r\n<strong>                        'p-2',<\/strong>\r\n<strong>                        'my-2',<\/strong>\r\n<strong>                        'font-bold',<\/strong>\r\n<strong>                        'rounded'<\/strong>\r\n<strong>                    ];<\/strong>\r\n<strong>                    const score = this.passwordScore;<\/strong>\r\n\r\n<strong>                    if(score &gt;= 50) {<\/strong>\r\n\r\n<strong>                        css.push('bg-green-200');<\/strong>\r\n<strong>                        css.push('text-green-700');<\/strong>\r\n\r\n<strong>                    } else if(score &gt;= 40) {<\/strong>\r\n\r\n<strong>                        css.push('bg-blue-200');<\/strong>\r\n<strong>                        css.push('text-blue-700');<\/strong>\r\n\r\n<strong>                    } else if(score &gt;= 30) {<\/strong>\r\n\r\n<strong>                        css.push('bg-orange-200');<\/strong>\r\n<strong>                        css.push('text-orange-700');<\/strong>\r\n\r\n<strong>                    } else if(score &gt;= 20) {<\/strong>\r\n\r\n<strong>                        css.push('bg-yellow-200');<\/strong>\r\n<strong>                        css.push('text-yellow-700');<\/strong>\r\n\r\n<strong>                    } else if(score &gt;= 10) {<\/strong>\r\n\r\n<strong>                        css.push('bg-red-200');<\/strong>\r\n<strong>                        css.push('text-red-700');<\/strong>\r\n\r\n<strong>                    }<\/strong>\r\n\r\n<strong>                    return css;<\/strong>\r\n\r\n<strong>                },<\/strong>\r\n<strong>                passwordVisibilityText() {<\/strong>\r\n\r\n<strong>                    return (this.showPassword) ? '\u975e\u8868\u793a' : '\u8868\u793a';<\/strong>\r\n\r\n<strong>                }<\/strong>\r\n            }\r\n        });\r\n\r\n    &lt;\/script&gt;\r\n&lt;\/body&gt;\r\n&lt;\/html&gt;<\/pre>\n<p>\u307e\u305a\u3053\u306e\u4e2d\u3067\u91cd\u8981\u306a\u306e\u306f\u3001<code>computed<\/code>\u5185\u306b\u3042\u308b<code>passwordScore()<\/code>\u3067\u3001\u3053\u306e\u4e2d\u3067\u5165\u529b\u3055\u308c\u305f\u30d1\u30b9\u30ef\u30fc\u30c9\u304c\u5f37\u3044\u306e\u304b\u5f31\u3044\u306e\u304b\u3092\u6570\u5b57\u306b\u5909\u63db\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u305d\u3057\u3066\u3001\u305d\u306e\u5f37\u5f31\u3092\u5224\u65ad\u3059\u308b\u306e\u306f\u4ee5\u4e0b\u306e\uff15\u3064\u3067\u3001\u305d\u308c\u305e\u308c\u6761\u4ef6\u3092\u6e80\u305f\u3059\u306810\u30dd\u30a4\u30f3\u30c8\u7372\u5f97\u3059\u308b\u4ed5\u7d44\u307f\u306b\u306a\u3063\u3066\u3044\u307e\u3059\u3002\uff08\u3064\u307e\u308a\u6700\u9ad8\u70b9\u306f\u300150\u70b9\uff09<\/p>\n<ol>\n<li>\u30d1\u30b9\u30ef\u30fc\u30c9\u306e\u9577\u3055\u304c11\u6587\u5b57\u4ee5\u4e0a\u3042\u308b\uff1f<\/li>\n<li>\u6570\u5b57\u304c\u5165\u3063\u3066\u308b\uff1f<\/li>\n<li>\u30a2\u30eb\u30d5\u30a1\u30d9\u30c3\u30c8\uff08\u5c0f\u6587\u5b57\uff09\u304c\u5165\u3063\u3066\u308b\uff1f<\/li>\n<li>\u30a2\u30eb\u30d5\u30a1\u30d9\u30c3\u30c8\uff08\u5927\u6587\u5b57\uff09\u304c\u5165\u3063\u3066\u308b\uff1f<\/li>\n<li>\u6570\u5b57\u30fb\u30a2\u30eb\u30d5\u30a1\u30d9\u30c3\u30c8\u4ee5\u5916\u306e\u6587\u5b57\u304c\u5165\u3063\u3066\u308b\uff1f<\/li>\n<\/ol>\n<p>\u30d1\u30b9\u30ef\u30fc\u30c9\u306e\u5f37\u5f31\u304c\u5206\u304b\u308b\u3088\u3046\u306b\u306a\u3063\u305f\u3089\u3001\u4ee5\u4e0b5\u30d1\u30bf\u30fc\u30f3\u306e\u30c6\u30ad\u30b9\u30c8\u3068\u3001\u305d\u308c\u306b\u95a2\u9023\u3059\u308b<code>CSS<\/code>\uff08\u8272\u3068\u304b\u3067\u3059\u306d\uff09\u306e\u5207\u308a\u66ff\u3048\u3092\u3059\u308b\u90e8\u5206\u3067\u3059\u3002<\/p>\n<ul>\n<li>\u975e\u5e38\u306b\u5f37\u529b<\/li>\n<li>\u5f37\u529b<\/li>\n<li>\u666e\u901a<\/li>\n<li>\u8106\u5f31<\/li>\n<li>\u975e\u5e38\u306b\u8106\u5f31<\/li>\n<\/ul>\n<p>\u5177\u4f53\u7684\u306a\u30e1\u30bd\u30c3\u30c9\u306f\u3001<code>passwordMessage()<\/code>\u3068<code>passwordMessageCss()<\/code>\u306b\u306a\u308a\u307e\u3059\u3002\u3053\u306e\u4e2d\u3067<code>passwordScore<\/code>\u306b\u3088\u3063\u3066\u3001\u8868\u793a\u3059\u308b\u5185\u5bb9\u3092\u5207\u308a\u66ff\u3048\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u3055\u3089\u306b\u3001<code>wordpress<\/code>\u3068\u540c\u3058\u304f\u30d1\u30b9\u30ef\u30fc\u30c9\u306e\u5185\u5bb9\u3092\u78ba\u8a8d\u3067\u304d\u308b\u3088\u3046\u306b\u300c\u8868\u793a\uff0f\u8868\u793a\u300d\u30dc\u30bf\u30f3\u3092\u30af\u30ea\u30c3\u30af\u3057\u305f\u3089\u5b9f\u884c\u3055\u308c\u308b\u306e\u304c<code>changePasswordVisibility()<\/code>\u3067\u3059\u3002<\/p>\n<p>\u5185\u5bb9\u3068\u3057\u3066\u306f\u3001<code>showPassword<\/code>\u306e<code>true \/ false<\/code>\u306b\u3088\u3063\u3066<code>&lt;input&gt;<\/code>\u30bf\u30b0\u306e<code>type<\/code>\u3092\u5909\u66f4\u3057\u3066\u3044\u308b\u3060\u3051\u3067\u3059\u3002<\/p>\n<pre><strong>&lt;input type=\"text\"&gt;<\/strong>\u3000\uff08\u8868\u793a\u3059\u308b\u5834\u5408\uff09\r\n\r\n\u2193\u2191\u3000\u5207\u308a\u66ff\u3048\r\n\r\n<strong>&lt;input type=\"password\"&gt;<\/strong>\u3000\uff08\u975e\u8868\u793a\u306b\u3059\u308b\u5834\u5408\uff09<\/pre>\n<p>\u307e\u305f\u3001\u8a72\u5f53\u3059\u308b<code>&lt;input&gt;<\/code>\u30bf\u30b0\u306b\u30a2\u30af\u30bb\u30b9\u3059\u308b\u305f\u3081\u306b\u30bf\u30b0\u306e\u30d7\u30ed\u30d1\u30c6\u30a3\u306b<code>ref=\"password\"<\/code>\u3092\u4ed8\u3051\u3066\u3044\u308b\u3053\u3068\u306b\u6ce8\u76ee\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<p>\u3064\u307e\u308a\u3001\u3053\u3053\u3067\u6307\u5b9a\u3057\u305f<strong>\u300cpassword\u300d<\/strong>\u3068\u3044\u3046\u540d\u524d\u3092\u4f7f\u3063\u3066<code>&lt;input&gt;<\/code>\u30bf\u30b0\u306b\u30a2\u30af\u30bb\u30b9\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<pre><strong>this.$refs.password\r\n\r\n\/\/ \u3082\u3057\u304f\u306f\u4ee5\u4e0b\u3082OK\r\n\r\nthis.$refs['password']<\/strong><\/pre>\n<h1>\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u4e00\u5f0f\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3059\u308b<\/h1>\n<p>\u4eca\u56de\u5b9f\u969b\u306b\u958b\u767a\u3057\u305f\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u3092\u4ee5\u4e0b\u304b\u3089\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<br \/>\n<code>CDN<\/code>\u3067<code>CSS<\/code>\u3001<code>JS<\/code>\u3092\u8aad\u307f\u8fbc\u3093\u3067\u3044\u308b\u306e\u3067\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u3066\u5c55\u958b\u3057\u305f\u3089\u3059\u3050\u8a66\u3059\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3088\uff01<\/p>\n<a  data-e-Disable-Page-Transition=\"true\" class=\"download-link\" title=\"\" href=\"https:\/\/blog.capilano-fw.com?download=4628&amp;tmstv=1777540839\" rel=\"nofollow\" id=\"download-link-4628\" data-redirect=\"false\" >\n\tVue\u3067\u30d1\u30b9\u30ef\u30fc\u30c9\u306e\u5f37\u5f31\u3092\u30ea\u30a2\u30eb\u30bf\u30a4\u30e0\u3067\u8868\u793a\u3059\u308b<\/a>\n\n<h1>\u304a\u308f\u308a\u306b<\/h1>\n<p>\u3061\u306a\u307f\u306b\u3067\u3059\u304c\u3001\u4eca\u56de\u306f\u3058\u3081\u3066<code>CSS<\/code>\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u306b<a href=\"https:\/\/tailwindcss.com\/\" target=\"_blank\" rel=\"noopener noreferrer\">Tailwind CSS<\/a>\u3092\u4f7f\u3063\u3066\u307f\u307e\u3057\u305f\u3002<\/p>\n<p>\u611f\u60f3\u3068\u3057\u3066\u306f\u3001<code>Bootstrap<\/code>\u3088\u308a\u30d5\u30ec\u30ad\u30b7\u30d6\u30eb\u306a\u4f7f\u3044\u65b9\u304c\u3067\u304d\u308b\uff08\u9006\u306b\u8a00\u3046\u3068\u8981\u6c42\u3055\u308c\u308b\uff09\u306e\u304b\u306a\u3001\u3068\u3044\u3046\u3082\u306e\u3067\u3057\u305f\u3002<\/p>\n<p>\u3068\u3044\u3046\u306e\u3082\u3001<code>Bootstrap<\/code>\u3060\u3068\u30dc\u30bf\u30f3\u306a\u3089<code>btn-*<\/code>\u306a\u3069\u5c02\u7528\u306e<code>CSS<\/code>\u30af\u30e9\u30b9\u304c\u5b58\u5728\u3057\u3066\u3044\u307e\u3059\u304c\u3001<code>Tailwind<\/code>\u306e\u5834\u5408\u306f\u305d\u3046\u3044\u3063\u305f\u56fa\u5b9a\u3055\u308c\u305f\u3082\u306e\u3068\u3044\u3046\u3088\u308a\u306f\u3001\u80cc\u666f\u3084\u4e38\u89d2\u3001\u7dda\u306a\u3069\u3092\u7d44\u307f\u5408\u308f\u305b\u3066\u72ec\u81ea\u306e\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u3092\u4f5c\u3063\u3066\u3044\u304f\u3068\u3044\u3046\u30a4\u30e1\u30fc\u30b8\u3060\u3063\u305f\u304b\u3089\u3067\u3059\u3002<\/p>\n<p>\u305d\u306e\u305f\u3081\u3001\u79c1\u306e\u3088\u3046\u306b\u305d\u308c\u307b\u3069\u30c7\u30b6\u30a4\u30f3\u304c\u5f97\u610f\u3067\u306a\u3044\u4eba\u9593\u304b\u3089\u3059\u308b\u3068\u4e00\u5ea6\u57fa\u790e\u304b\u3089\u30c7\u30b6\u30a4\u30f3\u3092\u52c9\u5f37\u3057\u3066\u304b\u3089\u4f7f\u3063\u305f\u65b9\u304c\u3088\u308a\u3044\u3044\u4f7f\u3044\u65b9\u304c\u3067\u304d\u308b\u304b\u306a\u3001\u3068\u3082\u601d\u3044\u307e\u3057\u305f\u3002<\/p>\n<p>\u305f\u3060\u3001<code>Tailwind<\/code>\u3082\u4eba\u6c17\u306e\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u3060\u3051\u3042\u3063\u3066\u3001<code>Bootstrap<\/code>\u3068\u306f\u307e\u305f\u9055\u3063\u305f\u30ad\u30ec\u30a4\u3067\u304a\u3057\u3083\u308c\u306a\u96f0\u56f2\u6c17\u3092\u3082\u3063\u3066\u3044\u307e\u3057\u305f\u3002\u3053\u306e\u8fba\u306f\u597d\u307f\u306e\u51fa\u3066\u304f\u308b\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u3002<\/p>\n<p>\u3068\u3044\u3046\u3053\u3068\u3067\u3001\u4eca\u56de\u306f<code>Vue<\/code>\u3067\u30d1\u30b9\u30ef\u30fc\u30c9\u306e\u5f37\u5f31\u3092\u30ea\u30a2\u30eb\u30bf\u30a4\u30e0\u3067\u8868\u793a\u3059\u308b\u65b9\u6cd5\u3092\u3054\u7d39\u4ecb\u3057\u307e\u3057\u305f\u3002<\/p>\n<p>\u305c\u3072\u7686\u3055\u3093\u3082\u8a66\u3057\u3066\u307f\u3066\u304f\u3060\u3055\u3044\u306d\u3002<\/p>\n<p>\u3067\u306f\u3067\u306f\u301c\uff01<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-3467 aligncenter\" src=\"https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2019\/04\/no_9.png\" alt=\"\" width=\"216\" height=\"320\" srcset=\"https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2019\/04\/no_9.png 216w, https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2019\/04\/no_9-203x300.png 203w\" sizes=\"auto, (max-width: 216px) 100vw, 216px\" \/><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u3055\u3066\u3055\u3066\u3001\u524d\u56de\u306eVue\u3067\u30bb\u30ec\u30af\u30c8\u30dc\u30c3\u30af\u30b9\u3001\u30e9\u30b8\u30aa\u30dc\u30bf\u30f3\u3001\u30c1\u30a7\u30c3\u30af\u30dc\u30c3\u30af\u30b9\u3092\u9023\u52d5\u3059\u308b\u3068\u3044\u3046\u8a18\u4e8b\u3067\u4e45\u3057\u3076\u308a\u306bVue\u306e\u8a71\u984c\u3092\u304a\u5c4a\u3051\u3057\u307e\u3057\u305f\u306e\u3067\u3001\u305d\u306e\u6d41\u308c\u3067\u4eca\u56de\u3082Vue &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/blog.capilano-fw.com\/?p=4625\" class=\"more-link\"><span class=\"screen-reader-text\">&#8220;\u3010Vue\u3011\u30d1\u30b9\u30ef\u30fc\u30c9\u306e\u5f37\u5f31\u3092\u30ea\u30a2\u30eb\u30bf\u30a4\u30e0\u3067\u8868\u793a\u3059\u308b\uff08DL\u53ef\uff09&#8221; \u306e<\/span>\u7d9a\u304d\u3092\u8aad\u3080<\/a><\/p>\n","protected":false},"author":1,"featured_media":4634,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[12,97],"tags":[125],"class_list":["post-4625","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-vue-js","category-97","tag-125"],"_links":{"self":[{"href":"https:\/\/blog.capilano-fw.com\/index.php?rest_route=\/wp\/v2\/posts\/4625","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.capilano-fw.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.capilano-fw.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.capilano-fw.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.capilano-fw.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=4625"}],"version-history":[{"count":6,"href":"https:\/\/blog.capilano-fw.com\/index.php?rest_route=\/wp\/v2\/posts\/4625\/revisions"}],"predecessor-version":[{"id":4636,"href":"https:\/\/blog.capilano-fw.com\/index.php?rest_route=\/wp\/v2\/posts\/4625\/revisions\/4636"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/blog.capilano-fw.com\/index.php?rest_route=\/wp\/v2\/media\/4634"}],"wp:attachment":[{"href":"https:\/\/blog.capilano-fw.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=4625"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.capilano-fw.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=4625"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.capilano-fw.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=4625"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}