Code Monkey home page Code Monkey logo

Comments (4)

ShenQingchuan avatar ShenQingchuan commented on July 18, 2024 1

为了帮助同学理解,你可以看到:

https://cn.vitejs.dev/guide/assets.html#the-public-directory

在文档这里:

目录默认是 <root>/public,但可以通过 publicDir 选项来配置。

这里就用到了这个 <root>,他是一个符号,帮助你阅读文档时快速理解文件的相对定位位置。

from docs-cn.

ShenQingchuan avatar ShenQingchuan commented on July 18, 2024

Hi,同学你好。很抱歉给你的理解造成了疑惑,我们会立刻优化这个地方的翻译。

这里的英语原文是:
You will see it referenced as <root> throughout the rest of the docs.

妥当的翻译应是:
你将会在接下来的文档中看到根目录以 <root> 代称。

我们会发起一个更改的 Pull Request 指向这个 issue。

from docs-cn.

ShenQingchuan avatar ShenQingchuan commented on July 18, 2024

温馨提示另外一个小 Tip :
可能同学你还不太知道,在 Github 的 Markdown 编辑器中直接输入 <root> 这六个字符而不将它用反引号扩起来,会被识别为一个 HTML 标签,将无法正常显示出来

以后一定要记得编辑完 issue 后点一下 Write 旁边的 Preview 看看效果哦!

from docs-cn.

mikexfreeze avatar mikexfreeze commented on July 18, 2024

明白了,谢谢

from docs-cn.

Related Issues (20)

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.