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: from view to view
Search
Hsiaoming Yang
May 31, 2016
Technology
5.6k
2
Share
Vue: from view to view
A lightnight talk for #vuejs Japan. A concept on how to manage your vue files.
Hsiaoming Yang
May 31, 2016
More Decks by Hsiaoming Yang
See All by Hsiaoming Yang
The modern OAuth 2.0
lepture
2
1.9k
Accessibility
lepture
0
320
Other Decks in Technology
See All in Technology
JOAI2026講評会資料(近藤佐介)
element138
1
110
New CBs New Challenges
ysuzuki
1
180
Zero-Downtime Migration: Moving a Massive, Historic iOS App from CocoaPods to SPM and Tuist without Stopping Feature Delivery
kagemiku
0
230
建設的な現実逃避のしかた / How to practice constructive escapism
pauli
4
320
DevOpsDays2026 Tokyo Cross-border practices to connect "safety" and "DX" in healthcare
hokkai7go
0
130
AI前提とはどういうことか
daisuketakeda
0
180
AIがコードを書く時代の ジェネレーティブプログラミング
polidog
PRO
3
720
Zero Data Loss Autonomous Recovery Service サービス概要
oracle4engineer
PRO
5
14k
サイバーフィジカル社会とは何か / What Is a Cyber-Physical Society?
ks91
PRO
0
170
2026年に相応しい 最先端プラグインホストの設計<del>と実装</del>
atsushieno
0
110
Introduction to Sansan for Engineers / エンジニア向け会社紹介
sansan33
PRO
6
74k
会社紹介資料 / Sansan Company Profile
sansan33
PRO
16
410k
Featured
See All Featured
Side Projects
sachag
455
43k
Measuring Dark Social's Impact On Conversion and Attribution
stephenakadiri
1
180
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
PRO
199
73k
The Cost Of JavaScript in 2023
addyosmani
55
9.8k
Why Mistakes Are the Best Teachers: Turning Failure into a Pathway for Growth
auna
0
110
Mozcon NYC 2025: Stop Losing SEO Traffic
samtorres
0
200
RailsConf 2023
tenderlove
30
1.4k
WCS-LA-2024
lcolladotor
0
520
Money Talks: Using Revenue to Get Sh*t Done
nikkihalliwell
0
200
How To Speak Unicorn (iThemes Webinar)
marktimemedia
1
430
Heart Work Chapter 1 - Part 1
lfama
PRO
5
35k
Building AI with AI
inesmontani
PRO
1
880
Transcript
Vue: from view to view Hsiaoming Yang @lepture
About Me 0
̣ lepture.com ̣ github.com/lepture ̣ twitter.com/lepture
̣ not skills ̣ no fantasy new features ̣ no
cool technology
My first view 1
None
None
vue-hackernews 3 views
A deep view 2
̣ python-china.org (qingcheng) ̣ app.xiaotaojiang.com
Large Applications vuex + vue-router
None
– Phil Karlton There are only two hard things in
Computer Science: cache invalidation and naming things
Make Vue Great Again looking
̣ views ̣ components ̣ widgets
views 3
<router-view> Views are the web pages
̣ Home.vue ̣ Brands.vue ̣ Product.vue ̣ UserProfile.vue <router-view>
import Home from ‘./Home.vue’ import UserProfile from ‘./UserProfile.vue’ export default
{ ‘/’: { title: ‘Ḓᶭ’ component: Home }, ‘/user’: { title: ‘አಁ’ component: UserProfile } } views/index.js
import views from ‘./views’ router.map(views)
components 4
as pure as possible components are just components
JUST USER INTERFACE
carousel This
import Slider from ‘./Slider.vue’ import Avatar from ‘./Avatar.vue’ export default
{ Slider, Avatar, } components/index.js global
widgets 5
components must not widgets must communicate with servers
None
̣ <a-component> in <a-widget> ̣ <a-component> in <b-component> ̣ <a-widget>
in <a-component>
<script> import CartItem from ‘./CartItem.vue’ export default { components: {
CartItem } } </script> views/Home.vue
App.vue 6
̣ Entry Point ̣ Belongs to nothing ̣ A special
vue file
App.vue views/ components/ widgets/
maintainablevue.com recap
About this slide Noteworthy Optima Impact Color Patterns Main Fonts
vui.github.io AD
THX