Skip to content

ZreXoc/mirrors-frontend

 
 

Repository files navigation

mirrors-frontend

Introduction

This project is a state-of-the-art website frontend for HITSZ OSA Mirrors.

Current and planned features are listed here: features-and-roadmap.md.

showcase

Usage

Prerequisites

Make sure you have these develop tools:

  • Yarn(an Node.js package manager)
  • Node.js
  • Visual Studio Code (recommended)

Then execute yarn install

Now you are ready to go!

Develop

Use yarn dev to serve the website under development on your local network. It supports hot module replacement.

Use yarn format to format the whole project before every commit, unless you are using other formatting tool which supports ESLint.

Build and Deploy

Please follow these steps:

  1. Make sure main branch is up to date
  2. Switch to prod branch
  3. Execute git rebase main. Occasionally you need to resolve conflicts
  4. (Optional) Make production-only changes and commit
  5. Execute yarn generate
  6. Deploy the files and directories under .output/public to the server
  7. Check if the deployed website works as expected
  8. Don't forget to push changes to GitHub

Where to start

Here are some resources that might help you learn how to develop this project:

We use IconPark Outline as the primary icon library. You can find the icons at:

Coding conventions

Please refer to coding-conventions.md.

About

HITSZ OSA Mirrors Website Frontend

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • CSS 48.7%
  • Vue 32.9%
  • TypeScript 13.9%
  • JavaScript 2.8%
  • SCSS 1.7%