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
180
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
90
React 18からのAPI useIDを使おう!/ Let's Use the useID API from React 18
yamanoku
0
230
Other Decks in Technology
See All in Technology
IoTとは〜? 数字で見るSORACOM UG【SORACOM UG Explorer 2026】
soracom
PRO
0
170
AIで選択肢が広がった組織設計の理想と現実
konifar
16
7.7k
公共システムAdventCalendar2026
toru_kubota
0
190
"AWSはちょっと苦手"でも大丈夫。AWS Blocks で手軽に作る Flutter のバックエンド #FlutterKaigi
tacck
PRO
0
150
Autonomous AI Lakehouse - Live AI Hubから始めるセキュアなAIデータ活用 -
oracle4engineer
PRO
3
190
Active Directory と Entra ID のむむむな関係
murachiakira
PRO
2
1.3k
Maestro MCPとClaude Code Skillsによる自律的なE2Eテスト支援
asmz
0
420
複雑な業務システムを高速でつくるため、チーム全員をつくれる人へ
ayakurabuchi
0
130
IBC 2026 動画技術関連レポート / IBC 2026 Report
cyberagentdevelopers
PRO
2
400
2026 Apache Flink Community Checkpoint
rmetzger
0
170
スマートロックを支えるFlutter × ネイティブ連携の実践 / Flutter and Native Integration in Practice: Powering Smart Locks
bitkey
PRO
0
150
視野はAIに、視座は人に / ai-for-breadth-humans-for-perspective
nkzn
6
3k
Featured
See All Featured
30 Presentation Tips
portentint
PRO
1
460
The Illustrated Guide to Node.js - THAT Conference 2024
reverentgeek
1
600
SEOcharity - Dark patterns in SEO and UX: How to avoid them and build a more ethical web
sarafernandez
0
320
Faster Mobile Websites
deanohume
310
32k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
133
20k
Raft: Consensus for Rubyists
vanstee
143
7.8k
Digital Projects Gone Horribly Wrong (And the UX Pros Who Still Save the Day) - Dean Schuster
uxyall
1
3.7k
GraphQLとの向き合い方2022年版
quramy
50
15k
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
128
56k
Visual Storytelling: How to be a Superhuman Communicator
reverentgeek
2
740
The B2B funnel & how to create a winning content strategy
katarinadahlin
PRO
1
610
We Have a Design System, Now What?
morganepeng
55
8.4k
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のこと、たまには 思い出してやってください
ありがとうございました