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
Vue CLI - Library Build
Search
Shindeok Kang
December 11, 2019
Programming
1.2k
0
Share
Vue CLI - Library Build
Shindeok Kang
December 11, 2019
More Decks by Shindeok Kang
See All by Shindeok Kang
Hello, Fire!
heavymery
2
910
Other Decks in Programming
See All in Programming
Redox OS でのネームスペース管理と chroot の実現
isanethen
0
500
The free-lunch guide to idea circularity
hollycummins
0
400
見せてもらおうか、 OpenSearchの性能とやらを!
shunta27
1
170
Smarter Angular mit Transformers.js & Prompt API
christianliebel
PRO
1
110
今からFlash開発できるわけないじゃん、ムリムリ! (※ムリじゃなかった!?)
arkw
0
170
脱 雰囲気実装!AgentCoreを良い感じにWEBアプリケーションに組み込むために
takuyay0ne
3
420
Reactive ❤️ Loom: A Forbidden Love Story
franz1981
2
210
Everything Claude Code OSS詳細 — 5層構造の中身と導入方法
targe
0
160
モダンOBSプラグイン開発
umireon
0
190
夢の無限スパゲッティ製造機 -実装篇- #phpstudy
o0h
PRO
0
180
Linux Kernelの1文字のミスで 権限昇格ができた話
rqda
0
2.2k
Java 21/25 Virtual Threads 소개
debop
0
320
Featured
See All Featured
Groundhog Day: Seeking Process in Gaming for Health
codingconduct
0
140
The AI Search Optimization Roadmap by Aleyda Solis
aleyda
1
5.5k
Chasing Engaging Ingredients in Design
codingconduct
0
160
Jess Joyce - The Pitfalls of Following Frameworks
techseoconnect
PRO
1
120
What Being in a Rock Band Can Teach Us About Real World SEO
427marketing
0
200
jQuery: Nuts, Bolts and Bling
dougneiner
66
8.4k
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
128
55k
DevOps and Value Stream Thinking: Enabling flow, efficiency and business value
helenjbeal
1
160
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
49
9.9k
The agentic SEO stack - context over prompts
schlessera
0
720
State of Search Keynote: SEO is Dead Long Live SEO
ryanjones
0
170
Why Your Marketing Sucks and What You Can Do About It - Sophie Logan
marketingsoph
0
120
Transcript
Vue CLI 〜 Library Build でハマった話 〜
https://twitter.com/KangShindeok https://github.com/heavymery ラクスル株式会社 姜 信徳 / Shindeok Kang 自己紹介 フロントエンド開発
エンジニアリング・マネージャー
Index • ラクスルのサービスと技術スタック • npm package 化したい背景 • そこでハマった!
ラクスルのサービスと技術スタック TVCM
ラクスルのサービスと技術スタック Server Side Frontend
npm package 化したい背景 Super Cool Web App Super Cool SPA
Super Cool Web App Super Cool SPA Super Cool Web App Super Cool SPA ... Same Codes ... Same ? Code ...
npm package 化したい背景 • Common UI Components • Common Store
modules • Utilities ... Super Cool Package Super Cool Web App Super Cool SPA
そこで • ググったら公式サイトのページ Cookbook が出てきた https://vuejs.org/v2/cookbook/index.html • Cookbook の rollup
設定が良く分からなかった https://vuejs.org/v2/cookbook/packaging-sfc-for-npm.html • Vue CLI の Library Build 機能があるっぽい! https://cli.vuejs.org/guide/build-targets.html#library
だけど • Vue CLI ドキュメントの設定方法が良く分からない • ググってみると Component の簡単な例は見つかった •
Store モジュールとかも package 化したいし • TypeScript で書きたいし • ...
そこでハマった!
DEMO my-lib と my-app でハマるデモ
THANK YOU 良い方法あったら教えてください
THANK YOU 良い方法見つかったらブログ書きます ✌ https://tech.raksul.com/