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
Angular ライブラリ開発 /ng-japan-onair
Search
Sayaka Nakatsuka
November 19, 2018
Technology
0
210
Angular ライブラリ開発 /ng-japan-onair
ng-japan OnAir (2018/11/29) での発表資料です。
デモがメインですので、下記アーカイブと合わせてご覧ください。
https://youtu.be/SALxOI9D33E
Sayaka Nakatsuka
November 19, 2018
Tweet
Share
More Decks by Sayaka Nakatsuka
See All by Sayaka Nakatsuka
Angular 7 から 8にあげてみた /ng-kyoto-angular-meetup-10
sayanaka
3
2.3k
HammerGestureConfigの 浅掘り /ionic-meetup-10
sayanaka
1
370
Angularのライブラリ作成について /ng-kyoto-angular-meetup-8
sayanaka
0
450
Other Decks in Technology
See All in Technology
作曲家がボカロを使うようにPdMはAIを使え
itotaxi
0
440
MobileActOsaka_250704.pdf
akaitadaaki
0
110
Tokyo_reInforce_2025_recap_iam_access_analyzer
hiashisan
0
180
KubeCon + CloudNativeCon Japan 2025 Recap
ren510dev
1
370
本が全く読めなかった過去の自分へ
genshun9
0
910
Delta airlines Customer®️ USA Contact Numbers: Complete 2025 Support Guide
deltahelp
0
340
AI導入の理想と現実~コストと浸透〜
oprstchn
0
190
CursorによるPMO業務の代替 / Automating PMO Tasks with Cursor
motoyoshi_kakaku
2
930
KubeCon + CloudNativeCon Japan 2025 Recap Opening & Choose Your Own Adventureシリーズまとめ
mmmatsuda
0
260
Zephyr RTOSを使った開発コンペに参加した件
iotengineer22
1
200
ビズリーチが挑む メトリクスを活用した技術的負債の解消 / dev-productivity-con2025
visional_engineering_and_design
3
6.7k
第4回Snowflake 金融ユーザー会 Snowflake summit recap
tamaoki
1
240
Featured
See All Featured
Embracing the Ebb and Flow
colly
86
4.7k
The Cult of Friendly URLs
andyhume
79
6.5k
RailsConf 2023
tenderlove
30
1.1k
Being A Developer After 40
akosma
90
590k
Keith and Marios Guide to Fast Websites
keithpitt
411
22k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
35
2.4k
Code Review Best Practice
trishagee
69
18k
Designing Experiences People Love
moore
142
24k
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
161
15k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
357
30k
ReactJS: Keep Simple. Everything can be a component!
pedronauck
667
120k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
30
2.1k
Transcript
Angular ϥΠϒϥϦ։ൃ ng-japan OnAir sayanaka (2018-11-19)
sayanaka • ฌݿݝग़ɺେࡕࡏॅ • ng-kyoto ද • JavaScriptྺ 3ɺAngularྺ 2
• Twitter @zilch8
AngularͷϥΠϒϥϦͬͯ Ͳ͏ͬͯ࡞Δͷʁ
Angular CLI 6.x Ҏ߱
Angular CLI 1.x ·Ͱ • ϥΠϒϥϦະαϙʔτ • ࣗྗͰwebpack.configΛ࡞Δ • ng-packagrΛʢखಈͰʣಋೖ͢Δ
• ޙड़
ng-packagrʁ
ng-packagr • https://github.com/ng-packagr/ng- packagr • AngularͷPackage FormatʹԊͬͯ Α͠ͳʹϏϧυͯ͘͠ΕΔϥΠϒϥϦ • 2017/08/31
- v1.0.0 ϦϦʔε
ng-packagr • Angular CLIͰ࡞ͬͨϓϩδΣΫτ্Ͱಈ͘ • Ұݸਓʢ@dheresʣ͕࡞ͬͨϥΠϒϥϦ
σϞ
ng-packagrͷखಈಋೖྫ • ௨ৗ • https://github.com/ng-packagr/ng- packaged • Nx Workspace •
https://github.com/ng-packagr/nx- packaged
ҙ • ~~.module.tsͷexportsʹɺΘ͍ͤͨ componentΛ໌ه͢Δ • AoTϏϧυඞਢ • ܦݧஊʢҼՌෆ໌ʣ • import
fromͰɺʮ~~/indexʯΛলུ • ϏϧυΤϥʔΛు͍ͨʢ
[email protected]
ʣ
ΊͬͪΌָʹ࡞ΕΔͷͰ ͥͻͬͯΈ͍ͯͩ͘͞ʂ