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.7k
2
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
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
330
Other Decks in Technology
See All in Technology
LLMアプリ、 雰囲気で運用してませんか? 〜LLMOpsの現在地〜
taka_aki
1
350
Kiro WebとCloud Sessions
nagisa53
2
210
サービス内で複数のOP・ASを連鎖させる(OAuth/OIDC Numa (Immersion) Workshop 2026)
oidfj
PRO
0
320
dbt in Microsoft Fabric
ryomaru0825
0
290
AI時代のアウトプット――変わったこと、変わらないこと / Devsumi 2026 Kansai #devsumi
jnchito
0
600
AI駆動開発を組織で促すために
lycorptech_jp
PRO
6
8.2k
dbt と Snowflake と tag
kevinrobot34
1
280
Oracle AI Databaseデータベース・サービス: BaseDB/ExaDB-Dの可用性
oracle4engineer
PRO
1
930
顧客の要望は2次情報である 〜アンテナを張るFDEの構造論〜
noriakioji
3
960
Eight Engineering Unit 紹介資料
sansan33
PRO
3
8.3k
みてねにおけるAI-DLC導入活動とAIドリブン開発の現在地/JAWS-UG AI-DLC #2
isaoshimizu
2
270
研究開発部の紹介 / Sansan R&D Profile
sansan33
PRO
4
24k
Featured
See All Featured
Gemini Prompt Engineering: Practical Techniques for Tangible AI Outcomes
mfonobong
2
500
The Limits of Empathy - UXLibs8
cassininazir
1
620
Avoiding the “Bad Training, Faster” Trap in the Age of AI
tmiket
0
220
Introduction to Domain-Driven Design and Collaborative software design
baasie
1
950
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
508
140k
We Are The Robots
honzajavorek
0
310
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
12
1.8k
WCS-LA-2024
lcolladotor
0
810
XXLCSS - How to scale CSS and keep your sanity
sugarenia
249
1.3M
Making Projects Easy
brettharned
120
6.7k
Code Reviewing Like a Champion
maltzj
528
40k
Into the Great Unknown - MozCon
thekraken
41
2.7k
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