Skip to content

Repository files navigation

大興建材行

Installation

npm install

Running Dev Server

npm run dev

Using Redux DevTools

Redux Devtools are enabled by default in development.

Test

npm run test:watch

Use Airbnb's testing utility called Enzyme.

CDN URL

在 package.json 可設定 CDN_URL 環境變數

在 src/utils 中,有輸出 getCDNUrl 方法來使用

getCDNUrl(<path>);

Responsive Web Design SCSS

在各別元件專用的 style 檔案中, 載入 src/style/util.scss ( 注意檔案位置 )

@import "../../styles/util";

然後使用 @include 語法

@include rwd('md') {
  position: static;
};

About

Web server 的初始網站

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages