You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
Bobson Lin 26aa6b7831 Import bootstrap nav scss in cyborg/spacelab theme 3 weeks ago
.vscode Initial project 2 months ago
css Initial project 2 months ago
src Import bootstrap nav scss in cyborg/spacelab theme 3 weeks ago
.browserslistrc Initial project 2 months ago
.gitignore Initial project 2 months ago
README.md Update README.md 2 months ago
package.json Add Webpack dev-server setting 1 month ago
webpack.config.js Add Webpack dev-server setting 1 month ago
yarn.lock Add Webpack dev-server setting 1 month ago

README.md

使用 Webpack 5 打包

初始專案(沒有 node_modules 資料夾)

❯ yarn install

開發專案

❯ yarn watch

or

❯ yarn build:dev

編譯 sass/scss 檔案

❯ yarn compile:sass

使用 node-sass 指令編譯

  • 安裝
❯ yarn global add node-sass
  • 執行 command
❯ node-sass src/scss/argon-theme.scss css/argon.css