輕量化的前端開發工具組,主要使用 tailwindcss + preact
node.js v.10.16.3 以上 (LTS 版本)
# clone the project
git clone git@gitlab.halfme.com:frontend-boilerplates/parcel-tamplate.git
# enter the project directory
cd event-site
# install dependency
yarn
# develop
yarn dev
This will automatically open http://localhost
# build for production environment
# 結果會產出於 /dist 資料夾中
yarn build
環境變數被設定於 .env
中
變數名稱 | 說明 |
---|---|
APP_URL | Api base url |
chenyu