A simple, clean but powerful blog theme build by astro.
For more information, please visit the CWorld Site and Deployment Instructions.
Environment requirements:
Clone the repository:
git clone https://github.com/cworld1/astro-theme-pure.git
Install dependencies:
cd astro-theme-pure
bun install
Note
For Bun, if the installation is slow, it is recommended to use a mirror configuration by creating bunfig.toml
under the project root directory:
[install]
registry = "<npm mirror site>"
For details about other PM mirror configs, you may need to see their official documents.
Start the development server:
bun dev
# For Windows, Bun has not yet implemented background tasks. So for Bun, use the following command instead:
# bun start
Or build (you may need to use node.js SSR firstly):
bun run build
Preview:
bun preview
To spend more time coding and less time fiddling with whitespace, this project uses code conventions and styles to encourage consistency. Code with a consistent style is easier (and less error-prone!) to review, maintain, and understand.
This project is licensed under the Apache 2.0 License.