vue3-club / vue3-docs Goto Github PK
View Code? Open in Web Editor NEWvue中文社区,vue3 中文文档
Home Page: https://vue3js.cn
vue中文社区,vue3 中文文档
Home Page: https://vue3js.cn
!
???
欢迎推荐,自荐Vue相关的优秀项目到我们首页,可以在本贴下面通过如下格式进行盖楼,我们将在审核后进行统一更新
关于泛型一节中的类型约束是否写错了?
在ts中,字面量类型开头字母应为小写;而通过new实例化出来的数据,开头为大写?
即不应为 String
而是 string
?
This is Mr.Hope from VuePress team.
Just perform a search on vue3 with bing.com, and found that this page is the first one.
After a quick review, your block about vuepress is having a broken link.
Our project has an official docs at https://v2.vuepress.vuejs.org/, and we also have another site at https://vuepress2.gitee.io/ for chinese users.
If you are unable to fix the broken docs at https://vue-js.com/vuepress/zh/, I would recommend you to use https://vuepress2.gitee.io
Though it isn't necessary, but it's pretty werid for a "Vue3 CN Docs" website building with Vue2.
I would suggest to migrate to VuePress2 as it's based on Vue3 and has a lot of performance improvements comparing with VuePress1.
If you would like to take the suggestion, I am expecting that you can start the migration yourself.
However I can help to migrate to VuePress2 if you need a pr because of reasons like lacking of spare time, unfamilar with VuePress2 and etc.
const target = {
_id: '1024',
name: 'vuejs'
}
const proxy = new Proxy(target, {
get(target, propkey, proxy){
if(propkey[0] === '_'){
throw Error(`${propkey} is restricted`)
}
return Reflect.get(target, propkey, proxy) //这里target将会被改为 { name: [Circular], _id: '1024' },相当于改变了target,不理解这
一步是需要产生什么效果呢,如果不做任何操作也可以成功打印出来("vuejs")
},
set(target, propkey, value, proxy){
if(propkey[0] === '_'){
throw Error(`${propkey} is restricted`)
}
return Reflect.get(target, propkey, value, proxy)
}
})
我现在访问vue3js.cn无响应,我想问一下是不是我自己的问题
composition,spec等等等 如题
1、描述符同时具有set、get和writable
https://vue3js.cn/es6/#%E4%B8%BA%E4%BB%80%E4%B9%88%E8%A6%81%E7%94%A8proxy%E9%87%8D%E6%9E%84
2、“同 WeakSet 一样,因为是弱引用,所以 WeakSet 也没有遍历方法”:出现两个WeakSet
https://vue3js.cn/es6/dataStructure.html#weakmap
项目名称: Vueuse
项目描述: 基于Vue组合式API的实用工具集
推荐理由: VueUse是一款基于组合式API的函数集合;尤大和Anthony Fu主维护;
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.