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
Webpack ❤ Vue.js
Search
Alan Michel Willms Quinot
April 03, 2016
Technology
0
29
Webpack ❤ Vue.js
Alan Michel Willms Quinot
April 03, 2016
Tweet
Share
More Decks by Alan Michel Willms Quinot
See All by Alan Michel Willms Quinot
Do RPC ao GraphQL
alanwillms
0
46
JWT
alanwillms
0
59
PHP – principais novidades do 5.3 ao 5.6
alanwillms
0
60
Other Decks in Technology
See All in Technology
Data Hubグループ 紹介資料
sansan33
PRO
0
2.7k
10Xにおける品質保証活動の全体像と改善 #no_more_wait_for_test
nihonbuson
PRO
2
240
M&A 後の統合をどう進めるか ─ ナレッジワーク × Poetics が実践した組織とシステムの融合
kworkdev
PRO
1
430
プロポーザルに込める段取り八分
shoheimitani
1
220
モダンUIでフルサーバーレスなAIエージェントをAmplifyとCDKでサクッとデプロイしよう
minorun365
4
180
Context Engineeringが企業で不可欠になる理由
hirosatogamo
PRO
3
570
学生・新卒・ジュニアから目指すSRE
hiroyaonoe
2
590
15 years with Rails and DDD (AI Edition)
andrzejkrzywda
0
190
AWS Network Firewall Proxyを触ってみた
nagisa53
1
220
名刺メーカーDevグループ 紹介資料
sansan33
PRO
0
1k
Context Engineeringの取り組み
nutslove
0
340
GitHub Issue Templates + Coding Agentで簡単みんなでIaC/Easy IaC for Everyone with GitHub Issue Templates + Coding Agent
aeonpeople
1
220
Featured
See All Featured
Why Mistakes Are the Best Teachers: Turning Failure into a Pathway for Growth
auna
0
51
Navigating Algorithm Shifts & AI Overviews - #SMXNext
aleyda
0
1.1k
Scaling GitHub
holman
464
140k
Designing for Performance
lara
610
70k
Leading Effective Engineering Teams in the AI Era
addyosmani
9
1.6k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
254
22k
AI in Enterprises - Java and Open Source to the Rescue
ivargrimstad
0
1.1k
Documentation Writing (for coders)
carmenintech
77
5.2k
From Legacy to Launchpad: Building Startup-Ready Communities
dugsong
0
140
Leo the Paperboy
mayatellez
4
1.4k
エンジニアに許された特別な時間の終わり
watany
106
230k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
52
5.8k
Transcript
Webpack ❤ Vue.js
vamos falar sobre front-end
front-end é a camada de apresentação
front-end é o código que executa no navegador
front-end antigamente
front-end hoje em dia
navegadores antigamente
navegadores hoje em dia
Webpack é um empacotador de web assets
O Webpack transforma os arquivos
None
O Webpack resolve todas as dependências
1. Logger 2. Axios 3. Vue 4. jQuery 5. Application
6. Validator 7. Products Service 8. Product 9. Product Form 10. Products List 11. Login Service 12. Login Form Unused; Product Form; Vue; Axios; Products Service; Logger; Application; Unused; jQuery; Products List; Validator; Login Form; Product; Unused; Login Service
é hora do hands-on!
dúvidas?
vamos falar sobre SPAs
SPAs são Aplicações de Página Única
SPAs são o oposto de MPAs
multi page applications
multi page applications
multi page applications
GET http://tradetools/produtos multi page applications
<!-- DOCTYPE HTML --> <html> <head> <title>Produtos… </head> <body> …
</body> </html> GET http://tradetools/produtos multi page applications
<!-- DOCTYPE HTML --> <html> <head> <title>Produtos… </head> <body> …
</body> </html> GET http://tradetools/produtos multi page applications
single page applications
single page applications
single page applications
event.preventDefault history.pushState single page applications
AJAX GET /produtos event.preventDefault history.pushState single page applications
AJAX GET /produtos event.preventDefault history.pushState [{id: 1, name: "Coca", price:
4.99},{id: 2, name: "Doritos", price: 6.99},{id: 3, name: "Chocolícia", price: 3.99}, …] single page applications
AJAX GET /produtos event.preventDefault history.pushState [{id: 1, name: "Coca", price:
4.99},{id: 2, name: "Doritos", price: 6.99},{id: 3, name: "Chocolícia", price: 3.99}, …] <div class="foo-bar"> … </div> single page applications
None
None
Vue.js é um framework para construir interfaces
Vue.js não é um framework full-stack
vue: componentes axios: ajax vuex: estado vue-router: rotas etc…
é hora do hands-on!
dúvidas?
DŌ JŌ
referências https://vuejs.org https://webpack.js.org https://laracasts.com/series/webpack-for-everyone https://laracasts.com/series/learn-vue-2-step-by-step