基于 VitePress 的新 MCSL 官网
git clone https://github.com/MCSLTeam/MCSLWebsite.git
先导航到本项目根目录。
bun install
bun run docs:dev
bun run docs:build
构建后的文件在 docs/.vitepress/dist
文件夹中。
MCSL官网
Home Page: https://mcsl.com.cn
基于 VitePress 的新 MCSL 官网
git clone https://github.com/MCSLTeam/MCSLWebsite.git
先导航到本项目根目录。
bun install
bun run docs:dev
bun run docs:build
构建后的文件在 docs/.vitepress/dist
文件夹中。
目前遇到的问题:
join-preview.html:1 Access to fetch at 'https://api.mcsl.com.cn/checkPreviewAvailable?Identification=1111-1111-1111-1111' from origin 'https://mcsl.com.cn' has been blocked by CORS policy: Request header field access-control-allow-origin is not allowed by Access-Control-Allow-Headers in preflight response.
目前能知道的问题:
docs/join-preview.md
的CORS编写错误,与服务端不对等导致跨域错误
如何解决:
我要是能知道我还会发Issue吗(
在e0c1660278782aea6b70d086ca0524e041ce2a45的commit中已经给出注释了,能修复的就帮忙修下了(
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.