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
Introduction to Pug Template Engine
Search
Alefe Souza
June 27, 2018
Programming
0
570
Introduction to Pug Template Engine
https://github.com/alefesouza/pug-introduction
https://youtube.com/watch?v=t6ZkhDRluzw
Alefe Souza
June 27, 2018
Tweet
Share
More Decks by Alefe Souza
See All by Alefe Souza
NativeScript: Native Apps with Angular
alefesouza
0
460
Implementing GraphQL with PHP - PHP Community Summit
alefesouza
0
290
Implementing GraphQL with Laravel and Vue.js
alefesouza
0
320
React: Zero to Hero
alefesouza
2
490
Implementing GraphQL with PHP
alefesouza
0
560
Node.js Chatbots with Bot Framework
alefesouza
0
390
GraphQL: A new way to write APIs
alefesouza
0
430
Firebase as back-end
alefesouza
0
460
GitLab: A tool for the entire DevOps lifecycle.pdf
alefesouza
0
680
Other Decks in Programming
See All in Programming
Evolving NEWT’s TypeScript Backend for the AI-Driven Era
xpromx
0
120
AIを駆使して新しい技術を効率的に理解する方法
nogu66
1
650
Chart.jsで長い項目を表示するときのハマりどころ
yumechi
0
130
複数チーム並行開発下でのコード移行アプローチ ~手動 Codemod から「生成AI 活用」への進化
andpad
0
180
開発生産性が組織文化になるまでの軌跡
tonegawa07
0
180
Phronetic Team with AI - Agile Japan 2025 closing
hiranabe
2
650
Atomics APIを知る / Understanding Atomics API
ssssota
1
150
「正規表現をつくる」をつくる / make "make regex"
makenowjust
1
670
Web エンジニアが JavaScript で AI Agent を作る / JSConf JP 2025 sponsor session
izumin5210
4
1.9k
OSS開発者の憂鬱
yusukebe
12
5k
Querying Design System デザインシステムの意思決定を支える構造検索
ikumatadokoro
1
1.2k
歴史から学ぶ「Why PHP?」 PHPを書く理由を改めて理解する / Learning from History: “Why PHP?” Rediscovering the Reasons for Writing PHP
seike460
PRO
0
160
Featured
See All Featured
Typedesign – Prime Four
hannesfritz
42
2.9k
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
658
61k
Rails Girls Zürich Keynote
gr2m
95
14k
Code Review Best Practice
trishagee
72
19k
Building Adaptive Systems
keathley
44
2.8k
The Cult of Friendly URLs
andyhume
79
6.7k
Raft: Consensus for Rubyists
vanstee
140
7.2k
Learning to Love Humans: Emotional Interface Design
aarron
274
41k
How to Ace a Technical Interview
jacobian
280
24k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
35
3.2k
How GitHub (no longer) Works
holman
315
140k
Context Engineering - Making Every Token Count
addyosmani
9
410
Transcript
@alefesouza UTF-8 LF PHP
[email protected]
@alefesouza <h1>Introdução ao template engine
Pug</h1> @alefesouza UTF-8 LF HTML
[email protected]
@alefesouza UTF-8 LF PHP
[email protected]
@alefesouza <h2 itemprop="name">Alefe Souza</h2> @alefesouza
<p itemprop="knows">JS, PHP, Java, C#</p> <p itemprop="sameAs">@alefesouza</p> <a itemprop="url">https://alefesouza.com</a> <h3 itemprop="jobTitle">Full Stack Developer</h3> <p itemprop="worksFor">iMasters</p> UTF-8 LF HTML
[email protected]
@alefesouza UTF-8 LF PHP
[email protected]
@alefesouza <h1>Pug</h1> <ul> <li>Conhecido anteriormente
como Jade.</li> <li>Baseado em indentação e seletores.</li> <li>Extend, Block e Include.</li> <li>Variáveis, iteradores, condicionais e mixins.</li> </ul> UTF-8 LF HTML
[email protected]
@alefesouza UTF-8 LF PHP
[email protected]
@alefesouza <a>http://bit.ly/app-pug</a> <h1>Live Code!</h1>
@alefesouza UTF-8 LF PHP
[email protected]
@alefesouza _variables.pug UTF-8 LF Pug
[email protected]
@alefesouza UTF-8 LF PHP
[email protected]
@alefesouza UTF-8 LF HTML
[email protected]
@alefesouza UTF-8 LF PHP
[email protected]
@alefesouza _companies.pug UTF-8 LF Pug
[email protected]
@alefesouza UTF-8 LF PHP
[email protected]
@alefesouza UTF-8 LF HTML
[email protected]
@alefesouza UTF-8 LF PHP
[email protected]
@alefesouza _sponsors.pug UTF-8 LF Pug
[email protected]
@alefesouza UTF-8 LF PHP
[email protected]
@alefesouza UTF-8 LF Vue
[email protected]
@alefesouza UTF-8 LF PHP
[email protected]
@alefesouza h1 Obrigado!! @alefesouza UTF-8
LF Pug
[email protected]
h2 @alefesouza