Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
大型犬好きによるPugの紹介
Search
yamanoku
October 13, 2026
Technology
170
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
大型犬好きによるPugの紹介
Minato.dev#01 非公式 Vue Fes Japan直前回!フロントエンド特集
登壇資料
yamanoku
October 13, 2026
More Decks by yamanoku
See All by yamanoku
SvelteのHTMLはどう解釈されているのか / How Svelte compile HTML
yamanoku
1
350
Navigation APIと見るSvelteKitのWeb標準志向
yamanoku
2
290
Shifting from MCP to Skills / ベストプラクティスの変遷を辿る
yamanoku
5
1.2k
SchooでVue.js/Nuxtを技術選定している理由
yamanoku
4
9k
たかがボタン、されどボタン ~button要素から深ぼるボタンUIの定義について~ / BuriKaigi 2026
yamanoku
1
600
ひとりNavigation API Advent Calendarの紹介 / Mita.ts #9
yamanoku
1
240
DenoとJSRで実現する最速MCPサーバー開発記 / Building MCP Servers at Lightning Speed with Deno and JSR
yamanoku
2
790
転生したらTypeScriptのEnumだった件 ~型安全性とエコシステムの変化で挫けそうになっているんだが~ / TSKaigi 2025
yamanoku
0
89
React 18からのAPI useIDを使おう!/ Let's Use the useID API from React 18
yamanoku
0
230
Other Decks in Technology
See All in Technology
書き手が人でもAIでも正しくなる道、SREを埋め込んだDeveloper Platform / tech drivers day8
chmikata
4
850
AIテスト自動化と評価駆動開発EDD
happysamurai294
0
110
AI時代、つくる力を自分たちの手に。 ──電通×KAG、アジャイルとAI駆動開発で挑む開発の変革
yuukiyo
3
440
基本から分かる!AWSセキュリティ運用の考え方と任せ方
cmusudakeisuke
1
270
(swiftc) NonCopyableとライフタイム修飾子
teamhimeh
0
160
Patterns in AI Driven Software Development
akosma
PRO
0
380
アクセラレーターで実現するServiceNow活用の高速化 / ServiceNow World Forum 2026
visional_engineering_and_design
0
110
正解のない研修に放り出されて / Being thrown into a training program with no right answers
ohnoeight
1
170
Jev の中身は50行で再現できる。でも本物との差はどこにあるのか
hisuzuya
0
220
Agent 活用環境の構築・運用のための AWS サービスのご紹介/agentcore-for-building-and-operating-agents
ren8k
1
280
Deep Data Security 機能解説
oracle4engineer
PRO
3
970
Vue.jsのGitHubから学ぶ意思決定
yut0naga1_fa
1
340
Featured
See All Featured
How to train your dragon (web standard)
notwaldorf
96
6.9k
Lightning talk: Run Django tests with GitHub Actions
sabderemane
0
310
Leveraging LLMs for student feedback in introductory data science courses - posit::conf(2025)
minecr
1
460
Done Done
chrislema
187
17k
Believing is Seeing
oripsolob
1
260
Balancing Empowerment & Direction
lara
6
1.3k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
508
140k
How to build a perfect <img>
jonoalderson
1
6.2k
Mind Mapping
helmedeiros
1
420
Code Review Best Practice
trishagee
74
20k
コードの90%をAIが書く世界で何が待っているのか / What awaits us in a world where 90% of the code is written by AI
rkaga
63
47k
WCS-LA-2024
lcolladotor
0
940
Transcript
大型犬好きによる Pugの紹介 Minato.dev#01 | 2026/10/13 yamanoku
yamanoku 一児の父・会社員 「お元気ですか.fm」パーソナリティ • Web Standard • フロントエンド • アクセシビリティ
• 大型犬 • Kawaii Future Base
Vue Fes Japan 2026に登壇します! https://vuefes.jp/2026/speaker/yamanoku
皆さん、犬は好きですか?
None
None
None
None
犬が含まれるサービス・ソフトウェア・ OSS • Datadog(監視・APMサービス) • Husky(Git Hooks) • Puppy Linux(軽量Linuxディストリビューション)
• Watchdog(Pythonのファイル監視ライブラリ) • Bark(Sunoの音声生成モデル) • Dogecoin(暗号資産)
フロントエンド開発で 見かける犬といえば
None
Pug • JavaScript製のHTMLテンプレートエンジン • Haml から影響を受けている • .pug という拡張子 •
必ずインデント記述する • 昔は Jade という名前だった ◦ 商標問題で v2.0 より Pug に名前が変わった ◦ Renaming jade -> pug · Issue #2184 · pugjs/pug
サンプルコード Pug HTML
Pugの良いところ • 再利用性 ◦ include, extends, mixin, block • 制御構文がある
◦ if, while, each of • UIライブラリ・フレームワークで活用できる • 閉じタグを書かなくてよい • HTML要素自体も書くことができる
再利用性
制御構文
ちなみに PugはVue.jsで今も使える
令和最新 Vue.jsでPugを使う方法 • pug、@vue/language-plugin-pug をインストール • tsconfig.app.json に以下設定 "vueCompilerOptions": {
"plugins": ["@vue/language-plugin-pug"] }, • template に lang="pug" で書き始められる
令和の今、 Pugを使うことはあるか? • 正直積極的に使うことは無いかもしれない… • UIライブラリによるコンポーネント志向が浸透してきた • メタフレームワークで完結できる開発になってきた • HTMLを直接書くこと自体がデフォルト
◦ 静的解析もHTMLでサポートされているものが多い • AIが選ぶ選択肢としてもまずない状況 ちなみにPug自体はまだ更新されている(
[email protected]
は 2026/3/14 リリース)
Vueにおいては移行事例もある • 1,100 超えコンポーネントの Jade / Pug テンプレートを移行した話 | PLAID
engineer blog • Pug を HTML に移行して .vue ファイル の template タグ内に ESLint を効かせた話 - SMARTCAMP Engineer Blog 移行ツール • https://github.com/dperrymorrow/vue-pug-to-html • https://github.com/plaidev/pug-to-html ◦ Jadeも対応している
🔍Pug 使わない 理由 🔍Pug 流行らない 理由 🔍Pug 盛り上げたい 🔍Pug 今
必要なもの 🔍Pug 覇権 取り方
Pugのこと、たまには 思い出してやってください
ありがとうございました