Slide 1

Slide 1 text

Future of Vue.js Vue.js v-meetup #6 2017.12.13 @kazupon

Slide 2

Slide 2 text

ࣗݾ঺հ

Slide 3

Slide 3 text

kazupon Vue.js Core Team Vue.js japan users group organizer vue-i18n, vuejs/jp.vuejs.org maintainer storybook vue support member CUUSOO SYSTEM CTO @kazu_pon kazupon

Slide 4

Slide 4 text

͸͡Ίʹ

Slide 5

Slide 5 text

രൃͨ͠ 2017೥

Slide 6

Slide 6 text

Google Trend

Slide 7

Slide 7 text

• 2016೥ GitHub Stars

Slide 8

Slide 8 text

• 2017೥ GitHub Stars

Slide 9

Slide 9 text

ॳͷެࣜ ΧϯϑΝϨϯε ։࠵

Slide 10

Slide 10 text

VueConf 2017 https://conf.vuejs.org

Slide 11

Slide 11 text

VueConf 2017 Photo Reference by Laravel-Vuejs https://www.laravel-vuejs.com/what-we-learned-at-vueconf/

Slide 12

Slide 12 text

Progressive ʹ ਐԽ͢ΔVue.js

Slide 13

Slide 13 text

2017.02.26 v2.2 Initial D 2017.04.27 v2.3 JoJo’s Bizarre Adventure 2017.07.13 v2.4 Kill la Kill 2017.10.13 v2.5 Level E

Slide 14

Slide 14 text

2017.02.26 v2.2 Initial D • SSRͷվળ • ΤϥʔϋϯυϦϯάͷվળ • ίϯϙʔωϯτ޲͚v-modelͷΧελϚΠζ • Provide / Inject

Slide 15

Slide 15 text

2017.04.27 v2.3 JoJo’s Bizarre Adventure • SSRͷվળ • ඇಉظίϯϙʔωϯτͷվળ • ؔ਺ܕίϯϙʔωϯτͷվળ

Slide 16

Slide 16 text

2017.07.13 v2.4 Kill la Kill • SSRͷϑϧରԠ • ༰қͳϥούίϯϙʔωϯτͷ࡞੒αϙʔτ
 (inheritAttrs, $attrs, $listeners) • ύϑΥʔϚϯεվળ

Slide 17

Slide 17 text

2017.10.13 v2.5 Level E • TypeScript ܕఆٛͷվળ • ͞ΒͳΔΤϥʔϋϯυϦϯάͷվળ • SFCͷؔ਺ܕίϯϙʔωϯτͷαϙʔτ

Slide 18

Slide 18 text

͞Βʹ ൟӫ͢Δ ΤίγεςϜ

Slide 19

Slide 19 text

No content

Slide 20

Slide 20 text

StorybookͰαϙʔτ

Slide 21

Slide 21 text

͞ΒͳΔڧྗͳ ίΞνʔϜϝϯό ͷδϣΠϯ

Slide 22

Slide 22 text

Slide 23

Slide 23 text

ͦΜͳத

Slide 24

Slide 24 text

2017.09.26

Slide 25

Slide 25 text

AMA with Vue.js Team https://hashnode.com/ama/with-vuejs-team-cj7itlrki03ae62wuv2r2005s

Slide 26

Slide 26 text

Vue.jsίΞνʔϜ͚ͩͲ ͳΜ͔ฉ͖͍ͨ͜ͱ͋ Δʁ

Slide 27

Slide 27 text

কདྷʹΉ͚ͨϩʔυϚοϓΛެ։ https://github.com/vuejs/roadmap

Slide 28

Slide 28 text

ࠓ೔࿩͢͜ͱ

Slide 29

Slide 29 text

Vue.jsͷࠓޙ

Slide 30

Slide 30 text

• Core • vue-test-utils • vue-cli • eslint-plugin-vue • vue-component-compiler • Style Guide • Cookbook Vue Project Roadmap

Slide 31

Slide 31 text

Style Guide

Slide 32

Slide 32 text

ެࣜελΠϧΨΠυ • Vue.jsϓϩδΣΫτͰͷ։ൃͷखॿ ͚ͱͳΔελΠϧΨΠυΛఏڙ

Slide 33

Slide 33 text

• Lead: @chrisvfritz • beta

Slide 34

Slide 34 text

ެࣜυΩϡϝϯτʹެ։ࡁΈ

Slide 35

Slide 35 text

ESLintͱͷΠϯςάϨʔγϣϯ • eslint-plugin-vueͰࣗಈνΣοΫͰ ͖ΔΑ͏ڞಉ࡞ۀத https://github.com/vuejs/eslint-plugin-vue/issues/77

Slide 36

Slide 36 text

Cookbook

Slide 37

Slide 37 text

ެࣜΫοΫϒοΫ • Α͋͘Δམͱ݀͠΁ͷରॲ͕ॻ͔ ΕͨυΩϡϝϯτ

Slide 38

Slide 38 text

• Lead: @chrisvfritz

Slide 39

Slide 39 text

ணख͸͜Ε͔Β • ελΠϧΨΠυͷରԠ͕͋ΔͨΊɺ ·ͩ࡞ۀʹணखͰ͖͍ͯͳ͍ • ͜Ε͔Βணख͢Δͱ͍ͬͨঢ়گ

Slide 40

Slide 40 text

eslint-plugin-vue

Slide 41

Slide 41 text

ެࣜESLintϓϥάΠϯ • Vue.js޲͚ͷίʔυΛϦϯτͯ͘͠ ΕΔϓϥάΠϯ

Slide 42

Slide 42 text

• Lead: @michalsnik
 @mysticatea • v4.0.0-beta.2

Slide 43

Slide 43 text

ެࣜελΠϧΨΠυରԠத https://twitter.com/michalsnik/status/934340597720154113

Slide 44

Slide 44 text

4.0 Comming Soon…

Slide 45

Slide 45 text

಺༰ʹ͍ͭͯ͸ ͜ͷޙͷൃදͰʂ

Slide 46

Slide 46 text

vue-test-utils

Slide 47

Slide 47 text

୯ମςετ޲͚ͷެࣜϥΠϒϥϦ

Slide 48

Slide 48 text

എܠ https://github.com/vuejs/vue-test-utils/issues/1

Slide 49

Slide 49 text

• Lead: @eddyerburgh • v1.0.0-beta.7

Slide 50

Slide 50 text

• ίϛϡχςΟʹΑΔ຋༁Ͱ֤ݴޠ޲ ͚ʹυΩϡϝϯτ͕΄΅ἧ͍ͬͯΔ υΩϡϝϯτ https://vue-test-utils.vuejs.org/

Slide 51

Slide 51 text

1.0 ʹ޲͚ͨ࠷ऴௐ੔ https://github.com/vuejs/vue-test-utils/issues/246

Slide 52

Slide 52 text

1.0 Comming Soon…

Slide 53

Slide 53 text

಺༰ʹ͍ͭͯ͸ ͜ͷޙͷൃදͰʂ

Slide 54

Slide 54 text

vue-component- compiler

Slide 55

Slide 55 text

SFCͷίϯύΠϥ • όϯυϥʹͱΒΘΕͳ͍APIΛϥΠ ϒϥϦͱͯ͠ఏڙ vue-component-compiler API

Slide 56

Slide 56 text

ҎԼͷ՝୊ղܾΛ໨త • SFCίϯύΠϧϩδοΫͷॏෳͷআڈ • ϝϯςφϯεͷվળ vue-loader rollup-plugin-vue vueify parse / compile parse / compile parse / compile vue-template- compiler vue-template- compiler vue-template- compiler

Slide 57

Slide 57 text

• Lead: @znck
 @eddyerburgh • WIP

Slide 58

Slide 58 text

• ࠷ॳͷ࣮૷͸େମऴΘ͍ͬͯΔঢ়گ ݱࡏϨϏϡʔ଴ͪ https://github.com/vuejs/vue-component-compiler/pull/29

Slide 59

Slide 59 text

Parcel΋ରԠ͢Δ͔΋ https://github.com/parcel-bundler/parcel/issues/5

Slide 60

Slide 60 text

vue-cli

Slide 61

Slide 61 text

VueϓϩδΣΫτߏஙCLI • ݱࡏͷ࠷৽όʔδϣϯ: v2.9.2 ָʹ։ൃ؀ڥ ΛߏஙͰ͖ͯ ͙͢ʹ։ൃͰ ͖Δʂ

Slide 62

Slide 62 text

͔͠͠ ͍Ζ͍Ζͱ ໰୊͕͋Δ

Slide 63

Slide 63 text

ςϯϓϨʔτͷϝϯς͕େม • ϓϩδΣΫτͷมߋͱςϯϓϨʔ τͷมߋͷಉظ • ςϯϓϨʔτͷόʔδϣϯ؅ཧ

Slide 64

Slide 64 text

CLI͔Β໰ΘΕΔ࣭໰߲໨ • ஌ࣝΛཁ͢Δ΋ͷ͕͋ͬͯॳ৺ऀʹ༏͠ ͘ͳ͍ • ࣭໰߲໨͕ଟ͗͢Δ ESLintʁ Jestʁ NightWatchʁ … ޙͲΜ͚ͩ ͋Δͷʁ

Slide 65

Slide 65 text

3.0Ͱ࠶ઃܭ • ͜͏ͨ͠໰୊ʹରԠ͢ΔͨΊ࠶ઃܭ https://github.com/vuejs/vue-cli/issues/589

Slide 66

Slide 66 text

• Lead: @yy990803
 @egoist • WIP

Slide 67

Slide 67 text

3.0 ΞʔΩςΫνϟ ⚠ݱࡏ·ͩઃܭதͷஈ֊ͷ΋ͷͰ͢ʂ

Slide 68

Slide 68 text

৽͍͠ΞʔΩςΫνϟ • ϓϦηοτϞσϧͷ࠾༻ • ίϚϯυͰΦϯσϚϯυͰϓϦηο τͷ௥ՃՄೳ • ϓϦηοτຖʹnpmͰ؅ཧՄೳ • ϓϦηοτଆͰscaffoldingΛఆٛ Մೳ

Slide 69

Slide 69 text

৽͍͠ΞʔΩςΫνϟ • ϕʔε͸webpackςϯϓϨʔτ • browserify͸ഇࢭ͍ͯ͘͠༧ఆ

Slide 70

Slide 70 text

৽͍͠ΞʔΩςΫνϟ • configϑΝΠϧʹΑΔूத؅ཧ • ؀ڥม਺ • APIϓϩΩγ • webpack-chainʹΑΔ௿Ϩϕϧઃ ఆ • …ͳͲ

Slide 71

Slide 71 text

৽͍͠ΞʔΩςΫνϟ • vue-cliͷ෼཭ • ैདྷͷ vue build ͸ΞυΦϯ͢Δܗ Ͱར༻Ͱ͖ΔΑ͏ʹ͢Δ

Slide 72

Slide 72 text

Core

Slide 73

Slide 73 text

• Lead: @yy990803 • called `2.x-next` • 2018 early Vue 3.0 ?

Slide 74

Slide 74 text

• େ͖ͳഁյతมߋ͸͠ͳ͍༧ఆ • 2.xܥͱฏߦͯ͠ϝϯς͞ΕΔ APIͷޓ׵ੑͱ2.x 2.x 2.x-next 2.5

Slide 75

Slide 75 text

• ωΠςΟϒʹES2015Λαϙʔτ͢ Δϒϥ΢βͷΈʂ ର৅ϒϥ΢β

Slide 76

Slide 76 text

• ES2015 Proxy Ͱॻ͖׵͑Δ༧ఆ ϦΞΫςΟϒγεςϜͷվળ 2.x 2.x-next Ҏ߱

Slide 77

Slide 77 text

όοΫϩά (ະఆ)

Slide 78

Slide 78 text

• SFC͔Βม׵͢ΔCLIΛαϙʔτ͢Δ͔΋͠Εͳ͍ WebComponentsରԠ https://www.youtube.com/watch?v=wZN_FtZRYC8&t=2397s

Slide 79

Slide 79 text

• Class Fields ͱ Decorators ͕ stage-4ʹͳͬͨͱ ͖ରԠ͢Δ͔΋͠Εͳ͍ ΫϥεϕʔεͷAPIఏڙ

Slide 80

Slide 80 text

• WebAssemblyଆ͔ΒDOMΞΫηεͰ͖ΔΑ͏ʹ ͳͬͨΒ࢖͏͔΋͠Εͳ͍ WebAssemblyରԠ https://github.com/WebAssembly/gc/blob/master/proposals/gc/Overview.md

Slide 81

Slide 81 text

2018 ΧϯϑΝϨϯε

Slide 82

Slide 82 text

• Vue.js Conference Amsterdm • VueConf US 2018 • Vue.js London 2018 • VueConf EU 2018 ͦͯ͠೔ຊ΋ ։࠵ʹ޲͚ͯ४උதʂʂ

Slide 83

Slide 83 text

·ͱΊ

Slide 84

Slide 84 text

• ݱࡏɺίΞνʔϜ&ϓϩδΣΫτମ੍ʹ Αͬͯ։ൃ͕ਐΊΒΕ͍ͯΔ • ελΠϧΨΠυɺࠓޙΫοΫϒοΫʹΑΓ ͞ΒʹυΩϡϝϯτ͕ॆ࣮͍ͯ͘͠ • vue-test-utilsɺeslint-plugin-vue͸ɺͦΖͦ Ζਖ਼ࣜϦϦʔε͞ΕΔ ·ͱΊ

Slide 85

Slide 85 text

• vue-component-compilerʹΑΓɺSFCͷί ϯύΠϧΛ͢ΔͨΊʹɺόϯυϥʹͱΒΘ Εͳ͍APIͱͯ͠ఏڙ͞ΕΔΑ͏ʹͳΔ༧ ఆ • vue-cli 3.0 Ͱ͸ɺ࠶ઃܭ͞ΕΔ͜ͱʹΑ ΓɺϓϦηοτͱconfigϑΝΠϧʹΑΔɺ ϝϯςφϯε͠қ͘ɺ֦ுੑ͕ߴ͍ɺϓϩ δΣΫτ։ൃ؀ڥͷߏங͕ՄೳʹͳΔ༧ఆ ·ͱΊ

Slide 86

Slide 86 text

• Vue ίΞͷ2.x-nextͰ͸ɺAPIͷޓ׵ੑ͕อ ͨΕͭͭɺվળ͞ΕͨϦΞΫςΟϒγες Ϝ͕ఏڙ͞ΕΔ༧ఆ • ͨͩ͠ɺݱ࣌఺Ͱ͸αϙʔτର৅ͱͳΔϒ ϥ΢β͸ωΠςΟϒʹES2015Λαϙʔτ ͍ͯ͠Δ΋ͷͷΈ͕ର৅༧ఆ ·ͱΊ

Slide 87

Slide 87 text

Vue.jsͷϛογϣϯ ։ൃମݧΛΑ͘͢ΔͨΊʹ ࠓޙ΋औΓ૊ΜͰ͍͘

Slide 88

Slide 88 text

One more thing …

Slide 89

Slide 89 text

• 2018೥3݄·ͨ͸4݄։࠵༧ఆ • teratail͞Μαϙʔτ Vue.jsॳ৺ऀ޲͚ϋϯζΦϯ ͜Μͳײ͡Ͱू·ͬͯ΍Γ·͢ʂ (React.jsͷ࣌ͷ༷ࢠ)

Slide 90

Slide 90 text

͝ਗ਼ௌ ͋Γ͕ͱ͏͍͟͝·ͨ͠ʂ