Skip to content

Latest commit

 

History

History
27 lines (18 loc) · 549 Bytes

File metadata and controls

27 lines (18 loc) · 549 Bytes

English | 简体中文

Development Guide

Clone

git clone repo
npm i

Develop

npm run dev

At this time, it will monitor the file changes in the src directory and generate dist/darkmode.js files in real time. You can access test/demo.html through the file:// protocol to see the effect.

Build

npm run build

After the development is completed, the final target file dist/darkmode.min.js can be generated through the packaging command.