Giter VIP home page Giter VIP logo

docs-archived's Introduction

Mix Space Documentation [ARCHIVED]

⚠️ This repository is archived. The content is not maintained anymore.
⚠️ 此存储库已归档。不再维护内容。

Contributing 贡献

这个站点使用的是 VitePress,并基于 @vue/theme。站点内容使用 Markdown 编写,文件都在 src 文件夹中。如果只有一些简单的修改,你可以直接在 GitHub 网页端进行修改并新建一个 Pull Request.

在本地开发中,pnpm 被选用为项目的包管理器,你需要使用 pnpm 安装依赖:

pnpm i
pnpm run docs:dev
pnpm run docs:build
pnpm run docs:serve

请注意!请务必在修改后使用 docs:builddocs:serve 查看构建产物是否正常输出!

Working on the content 修改文字

  • 关于支持的 Markdown 扩展和在 Markdown 内部使用 Vue 语法的能力,请参阅 VitePress 文档
  • 有关编写和维护文档内容的规则和建议,请参阅编写指南。

Guide 编写指南

新增一个章节

  1. 克隆此项目
  2. src 文件夹中,新增一个文件夹,请语义化命名,假设为 test
  3. 编写内容,具体可以借鉴其他文档文件夹
  4. 创建 Pull Request. 其余事情只需要交给我们来做就好了

编写内容的时候需要注意的事情

  1. 中文与英文之间请保留一个空格,如测试 test 测试

References 参考

@vuejs/docs

@vueuse/vueuse

@vuejs/vitepress

docs-archived's People

Contributors

renovate[bot] avatar wibus-wee avatar miaoermua avatar wuhang2003 avatar innei avatar ttimochan avatar akarachen avatar sayyiku avatar

Stargazers

ZhangYue avatar  avatar 小元 avatar Dying star avatar Zabiy avatar  avatar

Watchers

 avatar

docs-archived's Issues

Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

Rate-Limited

These updates are currently rate-limited. Click on a checkbox below to force their creation now.

  • fix(deps): update dependency @vue/theme to v2.2.3
  • fix(deps): update dependency vue to v3.3.4
  • chore(deps): update dependency prettier to v3
  • 🔐 Create all rate-limited PRs at once 🔐

Open

These updates have all been created already. Click a checkbox below to force a retry/rebase of any.

Detected dependencies

github-actions
.github/workflows/deploy.yml
  • actions/checkout v3
  • actions/setup-node v3
  • actions/cache v3
  • pnpm/action-setup v2.2.4
  • peaceiris/actions-gh-pages v3
npm
package.json
  • @types/markdown-it *
  • @types/prismjs *
  • @vue/theme 2.2.1
  • @vueuse/core 10.0.2
  • @vueuse/head 1.1.23
  • markdown-it ^13.0.1
  • markdown-it-checkbox 1.1.0
  • prismjs ^1.29.0
  • segment ^0.1.3
  • shiki 0.14.1
  • vite 4.2.1
  • vitepress 1.0.0-alpha.69
  • vue 3.2.47
  • @types/node 18.15.11
  • husky 8.0.3
  • lint-staged 13.2.1
  • prettier 2.8.7
  • terser 5.16.9
  • vite-plugin-windicss 1.8.10
  • windicss 3.5.6

  • Check this box to trigger a request for Renovate to run again on this repository

pnpm build构建错误

[root@VM-8-10-centos kami]# pnpm build

> [email protected] build /root/mx-space/kami
> cross-env NODE_ENV=production next build

info  - Loaded env from /root/mx-space/kami/.env
warn  - SWC minify release candidate enabled. https://nextjs.org/docs/messages/swc-minify-enabled
info  - Checking validity of types  
info  - Disabled SWC as replacement for Babel because of custom Babel configuration ".babelrc" https://nextjs.org/docs/messages/swc-disabled
> [PWA] Compile client (static)
> [PWA] Auto register service worker with: /root/mx-space/kami/node_modules/.pnpm/[email protected][email protected]/node_modules/next-pwa/register.js
> [PWA] Service worker: /root/mx-space/kami/public/sw.js
> [PWA]   url: /sw.js
> [PWA]   scope: /
> [PWA] Compile server
info  - Using external babel configuration from /root/mx-space/kami/.babelrc
info  - Attempted to load @next/swc-linux-x64-gnu, but an error occurred: /lib64/libc.so.6: version `GLIBC_2.18' not found (required by /root/mx-space/kami/node_modules/.pnpm/@[email protected]/node_modules/@next/swc-linux-x64-gnu/next-swc.linux-x64-gnu.node)
info  - Attempted to load @next/swc-linux-x64-gnux32, but it was not installed
info  - Attempted to load @next/swc-linux-x64-musl, but an error occurred: libc.musl-x86_64.so.1: cannot open shared object file: No such file or directory
error - Failed to load SWC binary for linux/x64, see more info here: https://nextjs.org/docs/messages/failed-loading-swc
info  - Creating an optimized production build . ELIFECYCLE  Command failed with exit code 1.

服务器:腾讯轻量应用
CentOS 7.9.2009 x86_64(Py3.7.9)
后端正常
vercel/next.js#30468
在项目根目录添加 .babelrc 无效
待解决~

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.