版本:1.4.1
怎麼開始?
$ git clone https://github.com/kaochenlong/tailwind-css-playground.git
$ cd tailwind-css-playground
npm
或 yarn
):# 使用 Yarn
$ yarn
# 使用 NPM
$ npm install
# 使用 Yarn
$ yarn run server
# 使用 NPM
$ npm run server
然後,瀏覽器應該會自動打開 http://localhost:8080
頁面,如果沒有,你也可手動輸入網址。
src/index.html
頁面,你可以直接在 HTML 裡面使用 Tailwind CSS,也可以在 src/styles.css
這個檔案裡撰寫 CSS 了。Happy Hacking :)