You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert
æ ªå¼ä¼ç¤¾ã©ã¯ã¹ãéå¬ããã¨ã³ã¸ãã¢åãã®ã¤ãã³ããRAKUS Meetupããä»åã¯ãVue.jsãReactãTypeScriptãE2Eãã¹ããããã¼ãã«ãã楽楽å¤æ ãã®æ©è½éçºãæ å½ããåå¶åé³æ°ãç»å£ãããVue.js + TypeScriptã«ããæ°è¦ãµã¼ãã¹éçºã®æ¯ãè¿ããã¨ããå 容ã§è©±ããã¾ãããé¢é£è³æã¯ãã¡ãã ä¼ç¤¾åã®ããã³ãã¨ã³ãã¨ã³ã¸ã㢠åå¶åé³æ°ï¼ä»¥ä¸ãåå¶ï¼ï¼ã§ã¯ããVue.js + TypeScriptã«ããæ°è¦ãµã¼ãã¹éçºã®æ¯ãè¿ããã¨é¡ãã¦ãUIéçºèª²ã®åå¶åé³ãçºè¡¨ãå§ãããã¨æãã¾ãã ã¾ã軽ãèªå·±ç´¹ä»ãã¾ããååã¯åå¶åé³ã¨è¨ãã¾ããçµæ´ã§ããã2016å¹´ã®4æããWebç³»ã®ITãã³ãã£ã¼ã«æ°åå ¥ç¤¾ãã¾ãã¦ãWebã¨ã³ã¸ãã¢ã¨ãã¦ã®çµé¨ãç©ã¿ã¾ããã次ã¯èªç¤¾ãµã¼ãã¹ãä½ã£ã¦ããä¼ç¤¾ã§åãããã¨ããæ°æã¡ããã£ãã®ã§ã転è·æ´»åãå§ãã¦ãä»å¹´ã®1æãã
ã¹ãã¢ã®åã¯ãµãã£ãã github.com Vue3ããinjectã¨provideã¨ããé¢æ°ãæä¾ããã¦ãããï¼æ©è½çã«ã¯Vue2ã®ãã®ã¨åãã ãï¼ã³ã³ããéã®ç¶æ å ±æãç°¡åã«ã§ããããã«ãªã£ãã ããã¥ã¡ã³ã https://composition-api.vuejs.org/api.html#dependency-injection ç°¡åã«è¨ãã¨ãprovideã«ãã¼ä»ãã§æ¸¡ãããªã¢ã¯ãã£ããªç¶æ ãinjectã§åãåºããã¨ã§ã©ãããã§ãç¶æ ãåç §ã§ããããã«ãªããã®ã provideã¨injectã¯setupã§ã®ã¿åä½ããã ä¾ãã°ç¶æ ãå ±æãããã³ã³ãã¼ãã³ã2ã¤ããã£ãæãããç¨ã®ã¹ã³ã¼ãã§ãã£ã¬ã¯ããªãåã£ã¦å°ç¨ã®ã¹ãã¢ãä½ããã¨ãå¯è½ã Symbolã使ã£ã¦ä¸æã®ãã¼ãçæãããªã¢ã¯ãã£ãã«ãããç¶æ ãé¢æ°ãã»ããã§provideã«æ¸¡ãã components/miniS
TIGã®ä¼è¤ç彦ã§ãã ããæè¿ã¯Vue.jsã§ã®ããã³ãã¨ã³ãéçºãè¡ã£ã¦ãã¾ãã ã»ã¼ä½ããªãç¶æ ããã®ã¹ã¿ã¼ã段éããå§ããã®ã§ããããã®é調æ»ãããã¨ãå¦ã³ã«ãªã£ãã®ã§å ±æãã¾ãã â»ãã®è¨äºã¯ 2020/10/13 ã«å·çããã¾ããã調æ»æ¥ã¯2020/08/17ï½2020/09/01 ã®ããããã¼ã¸ã§ã³ãªã©å½æã¨ç¶æ³ãç°ãªããã®ãããã¾ãããã®1ã¶æã®éã§ããalphaããbetaã«å¤ãã£ãããbetaãåãããã¨é²åãéãã§ãã å ¬å¼ã©ã¤ãã©ãªã®ã¹ãã¼ã¿ã¹ã¯ãã¡ãããåèãã ããã https://v3.vuejs.org/guide/migration/introduction.html#supporting-libraries åæã¨ãã¦æ¼ããã¦ãããã2ç¹ã®ãã¤ã³ãç°å¢æ§ç¯ã¯Vue CLIãã¥ã¼ãã£ã¼ã§ã¯ä»äºã§ããã«ä½¿ããTypeScriptã¨é¡ãã¾ãã¦ãTypeScri
æ¦è¦ ãã®è¨äºã§ã¯ãVue.js ver 3.0 ã§æ¡ç¨äºå®ã® Composition API (https://vue-composition-api-rfc.netlify.com) ã使ã£ã¦ããã®RFCã®åæ©ã®ã²ã¨ã¤ã§ãããCode Organizationããã©ã®ããã«ãã¦å®ç¾å¯è½ãªã®ãã試ãã«å®è£ ãã¦ã¿ãçµæãã¾ã¨ãã¾ããã ã¯ããã«100è¡è¶ ã®åä¸ã®SFCã§ãã¢ã¢ããªãå®è£ ãããã®ãã¨ã«ãFunction -> Module -> Componentãã®é çªã§æ©è½åä½ã§ã®åå²ãé²ããåå¾ã®ã³ã¼ããæ¯è¼ãã¦ãã¾ãã Composition APIã§ã©ã®ããã«å®è£ ãã¹ããã模索ããã¦ããæ¹ã«ã¨ã£ã¦ã®åèã«ãªãã°å¹¸ãã§ãã Logic Reuse & Code Organization The APIs proposed in this RFC provide the users w
æ¥åã§Vue(Nuxt).jsãæ¸ãã¯ããã¦3ã¶æã»ã©çµã£ãã ããã¾ã§ã¯React + TSã®ããã¸ã§ã¯ãã ã£ãã®ã§ãTSã®è¯ãã¯åãã£ã¦ããã®ã§ã ä»ã®ããã¸ã§ã¯ãã«ãTSãå°å ¥ãããã¨æã£ã¦ããããã©ãããVueã®TSäºæ ã¯è¤éãããã Vueã§ãããã¯ããä½ãå ´åãVuexãVue-Routerã使ããã¨ãå¤ããããã®ä¸ã§åã®æ©æµãåãã«ããã£ãããããããæ¸ãæ¹ãè¤æ°ããããã ã ãããVue3ã®ãªãªã¼ã¹ã§ãã¾ãäºæ ãå¤ãããããã ã¡ãã£ã¨æéãã§ããã®ã§ãVue3ãªãªã¼ã¹åã®Vue + TSäºæ ã調ã¹ã¦ã¾ã¨ãã¦ããã ä»åã¯TSã使ãããã®ã³ã¼ãã®æ¸ãæ¹ã¨ãåæ å ±ãã©ã®ããã«ä½¿ç¨ã§ãããã«ç¦ç¹ãå½ã¦ãã Vueã¨TypeScriptã®ä» 2020å¹´5æ10æ¥ç¾å¨ãVue v3ã¯ãã¼ã¿çã§ãããVue v2.xãææ°ã®å ¬å¼ã¨ãªãã ãã®ç¶æ ã§ã³ã¼ãã®æ¸ãæ¹ã¯2éãããã å ¬å¼ã
Vue3 Composition APIã«ããã¦ãProviderãã¿ã¼ã³(provide/inject)ã®ä½¿ãæ¹ã¨ããªãéè¦ãªã®ããç解ãããJavaScriptTypeScriptè¨è¨Vue.jsNuxt ã¯ããã« Composition APIã§ãProviderãã¿ã¼ã³(provide/inject)ãããªãéè¦ãªã®ã§ããããã Composition APIã使ãã°ãç¶æ ããã¸ãã¯ããç°¡åã«ã³ã³ãã¼ãã³ãã®å¤ã«åãåºããã¨ãã§ãã¾ãã ããããªãããComposition APIã ãã§ã¯ããã¸ãã¯ãç¶æ ã¯åãåºãã¦ããè¤æ°ã³ã³ãã¼ãã³ãéã§å ±æã§ããªããããã§ãã Composition APIã«ãã£ã¦ãè·ç©ããã³ãã¼ã«ã«æ¢±å ã¯ã§ãã¦ããéã¶äººãããªãç¶æ ã§ãã ã¿ãªããã¯ãVueã®Providerãã¿ã¼ã³(provide/inject)ã£ã¦ä½¿ã£ããã¨ããã¾ãã? https:/
TL;DR inject/provideã¨slotã§contextãä½ãã pc/spã§åããã¸ãã¯&éããã³ãã¬ã¼ããæ±ãæã«ç¶æ ãå ±æãããæã¨ãæç¨ å æ¥Vue 3.xç³»ã®RCãå¤ãæ£å¼ã«ãªãªã¼ã¹ãããã¨ãããã¨ã§ãã¿ãªããã´ãªã´ãªcomposition apiãæ¸ãã¦ãããã¨ãã¨æãã¾ãã ããã§ã¯ã3ç³»ã«ãªãããæ±ããããå¼·åãªAPIã¨ãªã£ãprovide/injectãç¨ãã¦ãã³ã³ãã¼ãã³ãéã®ç¶æ 管çãè¡ãæ¹æ³ãç´¹ä»ãã¾ããæ¦å¿µçã«ã¯React Contextã¨ã»ã¼åããããªãã®ãªã®ã§ãç®æ°ãããã®ã§ã¯ããã¾ãããã¾ãããã®æ©è½ã¯setupããããã£ãéãã¦ã®ã¿å¤ã®åãåºããå å·¥ãã§ãããããOption APIãå¼ãç¶ã使ãå ´åã¯æ³¨æãã¦ãã ããã provide/injectã®ãããã Vue 3ã«ãªãprovideã¨injectã¯é¢æ°ã¨ãã¦å¤é¨ã¸å ¬éãããããã«ãªã¢ã¯ã
ããããã㨠Vue + Vuetify + TypeScriptã§æ¸ãããWebã¢ããªãã¯ããã¦éããã¨ãã®æç»ãé«éåãããã§ããåææç»ãæ©ãã¨ç¬¬ä¸å°è±¡ãè¯ãéãã»ã©ã¨å¬ããã§ãããã¸ãã¯é¨åãé«éåã§ããããªã¢ã«ã´ãªãºã æ¸ãæãããããããªãã¹ãåç´ä½æ¥ã ãã§é«éåã§ããããªãã¨ãã¾ã¨ãã¾ãã å ·ä½çã«ã¯ããã«ãããã¤ã¹éã§ãã¡ã¤ã«è»¢éãæ軽ã«ãããï¼ã¹ããã§ãPCã§ãcurlã§ã - Qiitaãã®Webã¢ããªãé«éåãã¾ãããã¨ãã¨ããã¹ã¯ãããç°å¢ã ã¨ããã»ã©åææç»ã®é度ã¯æ°ã«ãªããªãã®ã§ã¢ãã¤ã«ã§ã®åææç»ã®æ¯è¼ã以ä¸ã«è¼ãã¾ãã é«éåã®åã¨å¾ã§ã®æ¯è¼ æçµçã«ã©ããããã®å·®ãåºããã®æ¯è¼åç»ã§ãã å·¦ãé«éååã§ãå³ãé«éåå¾ã§ãã ç»è³ªãè¯ãåç»: https://youtu.be/I9VTpnpB6OM ä½æã§ãæç»ã¾ã§ã«ãããé度ã®æéããããã¾ãã iOS (
ãã®è¨äºã«ã¤ãã¦ãã®è¨äºã¯bosyu Advent Calendar 2019ã®5æ¥ç®ã®è¨äºã§ãã æ¨æ¥ã®ããããã®Vue Composition APIã§åãã¶ã£å£ãã¦æ¥½ããã£ãã§ãã«å¼ãç¶ãVue Composition APIã®ã話ã§ãã åã¯Composition APIã®ã³ã©ã ã£ã½ããã®ãããã¤ãæ¸ãã¦ã¿ãè¨äºã§ãã ã¡ãªã¿ã«ãµã ãã¤ã«ã¯@murokacoããä½ã§ãï¼ â ï¸æ³¨æVue Composition APIèªä½ã¯ã¾ã æ£å¼ãªãªãªã¼ã¹ãããã¦ããªãå®é¨çãªAPIã§ãã Vue Composition APIã®ãµã¤ãã«ãè¨è¼ããã¦ãã¾ãããã¾ã ç ´å£çãªå¤æ´ããããå¯è½æ§ãããããããã¯ã·ã§ã³ã§ã®å©ç¨ã¯æ¨å¥¨ããã¦ãã¾ããã bosyuã§ãªã«ãã£ã¦ãã®ï¼ããã¾ã表ç«ã£ã¦è¨ã£ãããã¦ãªãã£ããã§ãããå¤é ããæ¥åå§è¨ã§bosyuã®éçºããã¦ãã¾ãã å ·ä½çã«ã¯bosyuã®ããã³ãã¨ã³
# Vuex ã¯ãªãã¹ãé¿ãã Vuex ã¯ãã°ãã¼ãã«å¤æ° state ã使ãããã«ä½¿ãã¾ãã actions, mutations ã§ã°ãã¼ãã«å¤æ° state ãå¤æ´ããgetters ã§ã°ãã¼ãã«å¤æ° state ãåç §ãã¾ãã ããã ãã°ãã¼ãã«å¤æ° state ãå¤æ´ããã ãã§ããããªã«å¤§ã㪠Vuex ã¨ããã©ã¤ãã©ãªãããã®ããçåã§ããã Vuex ã¯ãããã¤ãããã©ãã§ãããã ããããå¤æ´ããã®ããç£è¦ããããã®ã©ã¤ãã©ãªã§ãã ã¾ã Vue.js devtools ã使ãã°ãããã¤ãããã©ãã§ãããã ããã ã°ãã¼ãã«å¤æ° state ãå¤æ´ mutation ãããã確èªãããã¨ãã§ãã¾ãã Vue.js devtools - Chrome ã¦ã§ãã¹ã㢠(opens new window) ãããããã¤ãã©ãã§ãã ãããå¤æ´ããã®ããç£è¦ãããã¨ãããæ°æã¡ãã¨ã
çãããããã«ã¡ã¯ãLINEã§ããã³ãã¨ã³ãéçºãæ å½ãã¦ããUIT1室ã®ã·ã¥ã¦ã¨ç³ãã¾ãã ä»åãå¹´ã«ä¸åº¦ã®ä¼ç»ãLINEã®ãå¹´çããã£ã³ãã¼ã³ã«ã¦ JavaScript ã®é¨åãæ å½ããã¦ããã ãã¾ãããLINEã®ãå¹´çã¯å¤ãã®ãã©ãã£ãã¯ãæµãã大è¦æ¨¡ãã¤çæéã®ä¼ç»ã¨ãªãã¾ãã æè¡çãªææ¦ãããããã®ããã¸ã§ã¯ãã¨ãã¦ãã¡ããã©è¯ããµã¤ãºæã§ãã£ããããä»åå¤ãã®ææ¦ãè¡ãã¾ããã®ã§ãé£è¼å½¢å¼ã§ç´¹ä»ãã¦ãããã°ã¨æãã¾ãã ååã§ããä»åã¯ãVue.js 㨠TypeScript ãä½µç¨ããéçºã«ã¤ãã¦ã§ãã ãªã TypeScript ã使ãã®ãï¼ ããã¾ã§Â LINE ã®ããã¸ã§ã¯ãã§ã¯ãJavaScript ãã¡ã¤ã³ã®è¨èªã¨ãã¦ããã³ãã¨ã³ãéçºãè¡ã£ã¦ãã¾ãããã§ãããæ代ã®æµãããããç¾å¨ã§ã¯æ°è¦ããã¸ã§ã¯ãã®å¤ãã TypeScript ãæ¡ç¨ãã¦ãã¾ãã æ並ã¿ã§ãã
ããã«ã¡ã¯ãECãã©ãããã©ã¼ã é¨ã®MAï¼ãã¼ã±ãã£ã³ã°ãªã¼ãã¡ã¼ã·ã§ã³ï¼ã¢ããªã±ã¼ã·ã§ã³ãã¼ã ã§ã社å åãã®ãã¼ã±ãã£ã³ã°éç¨ãã¼ã«ãéçºãã¦ããé·æ¾¤ï¼@snagasawa_ï¼ã§ãã å æ¥ãæ¥æ¬æéã®2020å¹´7æ18æ¥ã«Vue 3.0ã®Release Candidate(v3.0.0-rc.1)ããªãªã¼ã¹ãããä»å¾ã¯æçµãªãªã¼ã¹ã¾ã§ä¸»è¦ãªAPIã®breaking changeã¯æ³å®ãã¦ããªãã¨ã®ã¢ãã¦ã³ã¹ãããã¾ãããã¢ãã¦ã³ã¹ãåããç¾å¨ç¤¾å ãã¼ã«ã§é²ãã¦ããOptions APIããComposition APIã¸ã®ç§»è¡ã§å¾ãããTipsã«ã¤ãã¦ç´¹ä»ãã¾ãã ãã®è¨äºã§ã¯å ¬éæç¹ã§ã®Vue 3.0 betaã¸ã®ã¢ããã°ã¬ã¼ãã®æ¹æ³ã¨ãVue + TypeScriptã§ã®Options APIããComposition APIã¸ã®ç§»è¡ã®Tipsã«ã¤ãã¦ã¾ã¨ãã¾ãããVue 3.0ã¸ã®
2020å¹´ã®Q1ã«Vue.js 3.0ã®ãªãªã¼ã¹ãäºåããã¦ãã¾ãã å ¬éã«å é§ãã¦Vue 3.0ã®æ°æ©è½ã試ãããã¨æããTypeScript + Webpackã§ã®éçºç°å¢ãæ´ãã¦ã¿ãã®ã§ã¾ã¨ãã¾ãã ï¼2020/06/04 追è¨ï¼ vue-cli-nextãåºã¦ããããã§ãã https://github.com/vuejs/vue-cli-plugin-vue-next ï¼2020/02/04 追è¨ï¼ ãã®è¨äºã§ä½ã£ãç°å¢ã使ãVue3.0ã®æ°æ©è½Suspense, Teleportã試ãã¾ããããã¡ããåèã¾ã§ã«ã Vue.js 3.0 ã®æ°æ©è½ã試ãã ã Suspense ç·¨ã Vue.js 3.0 ã®æ°æ©è½ã試ãã ã Teleport ç·¨ã å 容 vue-nextã®README.mdã§ç´¹ä»ããã¦ãã以ä¸ãªãã¸ããªãåèã«ãWebpackçã®Vue.js 3.0ã®éçºç°å¢ã
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}