you can ref this:http://www.phpied.com/installing-v8js-for-php-on-a-mac/
if you have no pear and pecl, you can ref this:http://jason.pureconcepts.net/2012/10/install-pear-pecl-mac-os-x/
一直以來我都使用 gulp 作為開發時的編譯工具,一直到有人跟我說 webpack 比較屌我也終於開研究一下 webpack。
對一些開發者而言,github只是個下載別人寫好套件的好地方(其實就是我啦靠)疏不知其實它是強大的版本控管工具。如果你要使用它來做程式碼的檔案控管,首先你要先去申請一個帳號。
如果你申請好了,我們就從建立一個專案開始。
https://github.com/new
因為開始習慣要有 git 的環境,所以沒有良好的 terminal 實在難作業。
最近很流行使用字型檔來戴入 icon, 但在 webpack 裡,似乎會出一點錯:如果你使用了:
{test: /\.woff$/, loader: “url-loader?limit=10000&minetype=application/font-woff”}, {test: /\.woff2$/, loader: “url-loader?limit=10000&minetype=application/font-woff”}, {test: /\.ttf$/…
如題,如果你的 webpack 的 sass-loader 不能用,請先移除它
npm uninstall --save sass-loader
然後改裝 0.4.2 版本的 sass-loader
npm install --save sass-loader@0.4.2
如果沒意外的話應該就可以了
幫你寫好正規表達式。
常用的東西可以使用它來幫我們做選取或取代。
其實身為一個開發者,活了這麼久才會用 git 實在是很丟臉…之前沒有使用 git 協同工作時,我常常遇到一個問題:
程式碼沒有版本控管,也就是說如果我寫錯而且重開機過的話:
所以此時心裡就默默的覺得很幹,或者是主管說要做一個新功能,然後很火速的做好之後,主管說:
用 javascript 取 DOM 的寬度時,可分為:
一張圖就可以搞清楚它們的差別。
These were the top 10 stories published by 進擊的 Tool’ s in 2015. You can also dive into monthly archives for 2015 by using the calendar at the top of this page.