Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
この素晴らしい Vue.js に祝福を!
Search
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
Hideyuki Takeuchi
March 16, 2017
Programming
11k
16
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
この素晴らしい Vue.js に祝福を!
Vue.js Tokyo v-meetup="#3" での発表資料です。
Hideyuki Takeuchi
March 16, 2017
More Decks by Hideyuki Takeuchi
See All by Hideyuki Takeuchi
Ktorで認証付きMCPサーバーを作ってみる
chimerast
0
170
Exposed 応用編 〜内部実装 と 魔拡張〜
chimerast
3
2.2k
Delegatesと拡張関数・拡張プロパティその合わせ技
chimerast
0
810
Kotlin Coroutines と Ktor HTTP Client で作るスケールするタスク実行
chimerast
1
2.1k
UZABASE創業期から10年いるエンジニアから見た「BtoB SaaSのUI/UXってなんだろう?」
chimerast
1
950
暗号通貨の鍵を安全に管理するアーキテクチャを作ってみようとしている話
chimerast
0
460
WhitestormJSを触ってみた
chimerast
0
550
RxJava + Vert.x + jOOλ で Microservice的な何かを作ってみた
chimerast
0
2.9k
40億レコード以上のSPEEDA大規模データを超高速に表示するElasticsearch活用法
chimerast
1
4.2k
Other Decks in Programming
See All in Programming
決定論的オーケストレーションの設計と実装 / Design and Implementation of Deterministic Orchestration
nrslib
3
1.2k
Lessons from Spec-Driven Development
simas
PRO
0
150
コンテキストの使い捨てをやめる — ビジネスルール駆動開発と miko —
ioki
0
170
JJUG CCC 2026 Spring: JSpecify で実現する Kotlin フレンドリーな Java API 設計
ternbusty
1
150
AI駆動開発で崩れていくコードベースを立て直す
kyoko_nr_nr
1
440
フロントエンドとバックエンドで「1文字」を揃えよう
youkidearitai
PRO
0
230
さぁV100、メモリをお食べ・・・
nilpe
0
130
dRuby over BLE
makicamel
2
320
Claspは野良GASの夢をみるか
takter00
0
170
例外の正しい扱い方 そのエラー try-catchして大丈夫?
jinwatanabe
0
150
AI時代のUIはどこへ行く?その2!
yusukebe
19
6.8k
Spring Security 実践 ─ GraphQL APIで実務に役立つ 認証・認可 を学ぶ
wagyu
0
200
Featured
See All Featured
How People are Using Generative and Agentic AI to Supercharge Their Products, Projects, Services and Value Streams Today
helenjbeal
1
200
Keith and Marios Guide to Fast Websites
keithpitt
413
23k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
133
19k
The Invisible Side of Design
smashingmag
302
52k
So, you think you're a good person
axbom
PRO
2
2.1k
What does AI have to do with Human Rights?
axbom
PRO
1
2.2k
Music & Morning Musume
bryan
47
7.2k
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
659
62k
We Analyzed 250 Million AI Search Results: Here's What I Found
joshbly
1
1.3k
Fashionably flexible responsive web design (full day workshop)
malarkey
408
66k
Noah Learner - AI + Me: how we built a GSC Bulk Export data pipeline
techseoconnect
PRO
0
200
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
28
3.5k
Transcript
この素晴らしい Vue.js に祝福を! たけうち ひでゆき @chimerast from E2D3 @chimerast 1
時間が無くて雑コラ @chimerast 2
自己紹介 たけうちさんは縮退しました @chimerast 株式会社ユー ザベー ス 社内ニー ト 全方位型エンジニア 最近いじってるもの:
HoloLens @chimerast 3
Vue.js 遍歴 2015 年頭ぐらいからv0.11 をさわり始め、 2015 年中頃からプロダクトに導入 NewsPicks 広告出稿・ 分析画面
(2015 年~) SPA として作成 SPEEDA 統計・ 財務デー タ入力画面 (2016 年~) 新規プロダクト ( 未リリー ス 2017 年~) SPA として作成 vue 2.2 + vuex + vue-router + axios + babel @chimerast 4
今日のお題: E2D3 と Vue.js Excel にデー タを入力すると D3.js とかでビジュアライズして 表示してくれるExcel
アドイン E2D3 主催の五十嵐さんが Vue.js ドキュメントの日本語訳にも 関わっている( らしい) E2D3 ではVue.js をカジュアルに使用 @chimerast 5
E2D3 の簡単な紹介 @chimerast 6
@chimerast 7
DEMO @chimerast 8
@chimerast 9
@chimerast 10
@chimerast 11
@chimerast 12
@chimerast 13
E2D3 もろもろ オー プンソー スでGitHub 上で開発してます グラフテンプレー ト数: 93 種
GitHub Contributor: 41 人 アクティブメンバー: 51 人 ( 幽霊部員含めると100 人超え) エンジニア界隈ではなく、 オー プンデー タ界隈での活動が活発 もくもく会とかハッカソンとかよくやってます いろいろ賞を受賞しています @chimerast 14
総務大臣賞 @ STAT DASH グランプリ @chimerast 15
詳しくはホー ムペー ジから! http://e2d3.org/ja/ @chimerast 16
E2D3 で Vue.js を導入した経緯 @chimerast 17
@chimerast 18
昔は D3.js と jQuery でがんばってた setupGrid = () -> d3.select
'#contrib' .selectAll 'div' .data charts .enter().append 'div' .classed 'col-xs-4', true .each (d, i) -> newcell = d3.select(cell.cloneNode(true)) baseUrl = e2d3.util.baseUrl d.path newcell.select '.cover' .style 'background-image', "url('#{baseUrl}/thumbnail.png')" .select '.title' .text d.title ... @chimerast 19
対するHTML 側 <div id="contrib" class="row grid"> @chimerast 20
画面の拡張を続けていくのに だいぶしんどい @chimerast 21
そうだ Vue.js を カジュアルに導入しよう! @chimerast 22
Vue.js 導入後: CoffeeScript new Vue el: 'body' data: charts: []
ready: -> e2d3.api.topcharts() .then (charts) => @charts = charts components: chart: data: () -> readme: '' computed: baseUrl: -> e2d3.util.baseUrl(this.path) cover: -> @baseUrl + '/thumbnail.png' link: -> "chart.html##{@path},#{@scriptType},#{@dataType}" @chimerast 23
Vue.js 導入後: Pug(Jade) #contrib.row.grid(v-cloak) div(v-component='chart', v-repeat='charts', inline-template) .col-xs-4 figure .outer
.inner.cover(v-style="background-image: 'url(' + cover + ')'") .title {{title}} figcaption .action a.btn.btn-sm.btn-visualize(href='{{link}}') i.fa.fa-bar-chart | Visualize .readme {{{readme}}} @chimerast 24
すっきり 構造がちゃんとHTML 上に現れる @chimerast 25
カジュアルに Vue.js を使う @chimerast 26
v-for で繰り返し処理 @chimerast 27
@chimerast 28
簡単にJS で表が作れる! @chimerast 29
まとめ Vue.js はカジュアルにも使える コンポー ネントとか作らず1 画面内で使う Vue.js はガチにも使える vue +
vuex + vue-router + axios + babel コンポー ネントをバリバリ作成 学習曲線はわりと理想だと思う 最近の MS Of ce は HTML と JS でアドインが書けるよ @chimerast 30
E2D3 ではコントリビュー タを 募集しています! @chimerast 31