Search Posts

Month: April 2019

SharePoint的SPFX升級真的是千辛萬苦

由SPFx 1.0.0玩到昨天出的1.8.1,每一次升級framework都會遇到不同的麻煩。昨天Microsoft出了1.8.1,但我的Project還是用1.8.0,刪了node_module再npm i, 什麼也沒有做過就compile不到了,試了一回才發現最新版1.8.1剛出了,於是升級上去,結果又是什麼都沒有做,Project又變成可以compile到了。

佛教 VS 西方心理學

書中見到,不知對不對:西方心理學認為潛意識不可受控,但佛教認為只要通過禪定就可以控制潛意識。之前見過一遍報導就係科學家檢測人腦,在你做決定之前已經知道到你會做什麼決定,代表潛意識有份參與決定。所以西方不認同潛意識可以受控,就代表人做決定根本不由己,這點我比較認同佛教多一點。 http://sa.ylib.com/MagArticle.aspx?Unit=featurearticles&id=2329

Build library for SPFx 1.8.0 project use has to be careful the variable name

We have a library call quantr-spfx-library, which is a supporting library for our SPFx project. I tried to update a spfx project to 1.8.0 and unable to bundle it. The error is: Here is the original code from our library: As you can see, in the second line of above code, we have a library […]