終於publish左第一個reactjs+typescript的UI component上npmjs

終於publish左第一個reactjs+typescript的UI component上npmjs

2018/12/24 Office 365 Programming SharePoint 0

Publish當中最唔明就係點解要自己寫tsconfig同gulp人手張typescript同scss去transpile,呢一點同java好唔同,jar就係jar,唔會理你係邊到行,但nodejs個世界唔同,production同dev版本分別好大。你自己用npx create-react-app去創建新project,的確可以係local行,但就publish唔到上npmjs成功俾人用(可能係typescript同scss太煩)。而家個我個package可以同時俾reactjs同sharepoint spfx去用,可以build UI component library了。


read count : 42

Leave a Reply

Your email address will not be published. Required fields are marked *