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
3
0
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
330
Navigation APIと見るSvelteKitのWeb標準志向
yamanoku
2
280
Shifting from MCP to Skills / ベストプラクティスの変遷を辿る
yamanoku
5
1.2k
SchooでVue.js/Nuxtを技術選定している理由
yamanoku
4
9k
たかがボタン、されどボタン ~button要素から深ぼるボタンUIの定義について~ / BuriKaigi 2026
yamanoku
1
570
ひとりNavigation API Advent Calendarの紹介 / Mita.ts #9
yamanoku
1
230
DenoとJSRで実現する最速MCPサーバー開発記 / Building MCP Servers at Lightning Speed with Deno and JSR
yamanoku
2
750
転生したらTypeScriptのEnumだった件 ~型安全性とエコシステムの変化で挫けそうになっているんだが~ / TSKaigi 2025
yamanoku
0
89
React 18からのAPI useIDを使おう!/ Let's Use the useID API from React 18
yamanoku
0
220
Other Decks in Technology
See All in Technology
Deep Data Security 機能解説
oracle4engineer
PRO
2
740
go-sqletch
moznion
0
120
AI駆動開発、viviONの1年 ── うまくいったこと・いかなかったこと
vivion
0
270
スキルを作る、その前に!複数人で使われるスキルを 作るためのプロセス
junkifurukawa
2
360
AI時代のPRレビューにどう向き合うか?
kairim0
1
100
Google Cloud Next Tokyo 26登壇時のスクリプト
recruitengineers
PRO
0
210
DWH の限界突破! AI エージェント向け爆速リアルタイムデータ基盤 ClickHouse
jozono
1
320
AI駆動開発の時代になったのでトヨタ生産方式から見直す
terurou
5
5.4k
SDDの運用にめげずに向き合った話
sansantech
PRO
1
140
実践! SRE × AI - ABEMA における AIOps -
tetsuya28
7
2.4k
自分で立ててみるLLMサービス
y_sera15
0
150
OR学会2026年秋期大会_機械学習と数理最適化の融合による、配合レシピ最適化システム開発事例
brainpadpr
0
110
Featured
See All Featured
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
230
23k
HTML-Aware ERB: The Path to Reactive Rendering @ RubyCon 2026, Rimini, Italy
marcoroth
5
780
The Cost Of JavaScript in 2023
addyosmani
55
10k
How to optimise 3,500 product descriptions for ecommerce in one day using ChatGPT
katarinadahlin
PRO
3
3.9k
The Spectacular Lies of Maps
axbom
PRO
1
1.1k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
37
6.6k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
508
140k
Statistics for Hackers
jakevdp
799
230k
Exploring the relationship between traditional SERPs and Gen AI search
raygrieselhuber
PRO
4
4.3k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
35
2.6k
Why You Should Never Use an ORM
jnunemaker
PRO
61
10k
Keith and Marios Guide to Fast Websites
keithpitt
413
23k
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
犬が含まれるサービス・ソフトウェア・ 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のこと、たまには 思い出してやってください
ありがとうございました