Skip to content

临时

vue-loader

https://vue-loader-v14.vuejs.org/en/

react

react + mobx

package.json 中的 unpkg 字段代表什么意思?

unpkg is a fast, global content delivery network for everything on npm. Use it to quickly and easily load any file from any package using a URL like:

unpkg.com/:package@:version/:file

Examples

Using a fixed version:

  • unpkg.com/react@16.7.0/umd/react.production.min.js
  • unpkg.com/react-dom@16.7.0/umd/react-dom.production.min.js

You may also use a semver range or a tag instead of a fixed version number, or omit the version/tag entirely to use the latest tag.

  • unpkg.com/react@^16/umd/react.production.min.js
  • unpkg.com/react/umd/react.production.min.js

If you omit the file path (i.e. use a “bare” URL), unpkg will serve the file specified by the unpkg field in package.json, or fall back to main.

  • unpkg.com/jquery
  • unpkg.com/three

Append a / at the end of a URL to view a listing of all the files in a package.

  • unpkg.com/react/
  • unpkg.com/react-router/

github 的 token 有什么用途?

github actions 问题

https://github.com/actions/checkout/issues/254#issuecomment-1118411040

调试方法

https://www.ruanyifeng.com/blog/2018/03/node-debugger.html

Released under the MIT License.