Skip to content

Commit ee907b5

Browse files
authored
Merge branch 'master' into patch-1
2 parents 769ab97 + 341ce93 commit ee907b5

File tree

227 files changed

+11358
-5426
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

227 files changed

+11358
-5426
lines changed

assets/lifecycle-diagram.svg

Lines changed: 185 additions & 0 deletions
Loading

assets/scoped-slot-diagram.svg

Lines changed: 78 additions & 0 deletions
Loading

assets/slot-render-diagram.svg

Lines changed: 60 additions & 0 deletions
Loading

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"devDependencies": {
33
"@vuepress/plugin-pwa": "^1.5.4",
4-
"node-sass": "^4.13.1",
4+
"sass": "^1.32.0",
55
"sass-loader": "^8.0.2",
66
"vuepress": "^1.5.4"
77
},
@@ -14,7 +14,6 @@
1414
"@docsearch/css": "^1.0.0-alpha.27",
1515
"@docsearch/js": "^1.0.0-alpha.27",
1616
"algoliasearch": "^4.4.0",
17-
"axios": "^0.19.1",
1817
"intersection-observer": "^0.11.0",
1918
"showdown": "^1.9.1"
2019
}

src/.vuepress/components/MigrationBadges.vue

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,25 @@
11
<script>
2-
const validBadges = ['new', 'breaking', 'removed', 'updated']
2+
const validBadges = {
3+
new: 'new',
4+
breaking: 'breaking',
5+
removed: 'removed',
6+
updated: 'updated'
7+
}
38
49
export default {
510
props: {
611
badges: {
712
type: Array,
813
default: () => [],
914
validator(value) {
10-
return value.every(badge => validBadges.includes(badge))
15+
return value.every(badge => Object.keys(validBadges).includes(badge))
1116
}
1217
}
18+
},
19+
data() {
20+
return {
21+
validBadges
22+
}
1323
}
1424
}
1525
</script>
@@ -21,7 +31,7 @@ export default {
2131
:class="`migration-badge is-${badgeType}`"
2232
:key="`badge-type-${badgeType}`"
2333
>
24-
{{ badgeType }}
34+
{{ validBadges[badgeType] }}
2535
</span>
2636
</div>
2737
</template>

src/.vuepress/components/common/codepen-snippet.vue

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@
1111
:data-pen-title="title"
1212
:data-embed-version="version"
1313
:style="`height: ${height}px`">
14-
<span>See the Pen <a :href="href">{{ title }}</a>
15-
by {{ name || user }} (<a :href="`https://codepen.io/${user}`">@{{user}}</a>)
16-
on <a href="https://codepen.io">CodePen</a>.</span>
14+
<span>Veja o exemplo <a :href="href">{{ title }}</a>
15+
por {{ name || user }} (<a :href="`https://codepen.io/${user}`">@{{user}}</a>)
16+
no <a href="https://codepen.io">CodePen</a>.</span>
1717
</p>
1818
</template>
1919

@@ -44,7 +44,7 @@ export default {
4444
4545
user: {
4646
type: String,
47-
default: 'Vue',
47+
default: 'vuejs-br',
4848
},
4949
5050
name: {

src/.vuepress/components/common/vuemastery-video-modal.vue

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,20 +18,20 @@
1818
</div>
1919

2020
<p class="modal-text">
21-
Video by
21+
Vídeo por
2222
<a
2323
href="https://www.vuemastery.com"
2424
target="_blank"
2525
rel="sponsored noopener"
26-
title="Vue.js Courses on Vue Mastery"
26+
title="Cursos de Vue.js na Vue Mastery"
2727
>Vue Mastery</a
28-
>. Watch Vue Mastery’s free
28+
>. Assista ao gratuito
2929
<a
3030
href="https://www.vuemastery.com/courses/intro-to-vue-3/intro-to-vue3"
3131
target="_blank"
3232
rel="sponsored noopener"
33-
title="Vue.js Courses on Vue Mastery"
34-
>Intro to Vue course</a
33+
title="Cursos de Vue.js na Vue Mastery"
34+
>Curso de Introdução ao Vue</a
3535
>.
3636
</p>
3737
</div>

src/.vuepress/components/community/team/members.js

Lines changed: 17 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -109,14 +109,14 @@ const members = [
109109
languages: ['hi', 'en'],
110110
work: {
111111
role: 'Software Engineer',
112-
org: 'Myntra',
113-
orgUrl: 'https://www.myntra.com/'
112+
org: 'Grammarly',
113+
orgUrl: 'https://grammarly.com/'
114114
},
115115
github: 'znck',
116116
twitter: 'znck0',
117-
reposOfficial: ['rollup-plugin-vue', 'vue-issue-helper'],
118-
reposPersonal: ['keynote', 'bootstrap-for-vue', 'vue-interop'],
119-
links: ['https://znck.me', 'https://www.codementor.io/znck']
117+
reposOfficial: ['rollup-plugin-vue', 'vue-next'],
118+
reposPersonal: ['vue-developer-experience', 'prop-types', 'grammarly'],
119+
links: ['https://znck.me']
120120
},
121121
{
122122
name: 'Linusborg',
@@ -248,11 +248,11 @@ const members = [
248248
{
249249
name: 'Natalia Tepluhina',
250250
title: 'Fox Tech Guru',
251-
city: 'Kyiv, Ukraine',
251+
city: 'Amsterdam, Netherlands',
252252
languages: ['uk', 'ru', 'en'],
253253
reposOfficial: ['vuejs.org', 'vue-cli'],
254254
work: {
255-
role: 'Senior Frontend Engineer',
255+
role: 'Staff Frontend Engineer',
256256
org: 'GitLab',
257257
orgUrl: 'https://gitlab.com/'
258258
},
@@ -299,6 +299,16 @@ const members = [
299299
twitter: 'KiaKing85',
300300
reposOfficial: ['vuex'],
301301
reposPersonal: ['vuex-orm/*']
302+
},
303+
{
304+
name: 'Anthony Fu',
305+
city: 'Taipei, Taiwan',
306+
languages: ['zh', 'en'],
307+
github: 'antfu',
308+
twitter: 'antfu7',
309+
reposOfficial: ['composition-api'],
310+
reposPersonal: ['vueuse', 'vue-demi', 'vue-reactivity/*'],
311+
links: ['https://antfu.me/']
302312
}
303313
])
304314
)

src/.vuepress/components/community/themes/theme-data.js

Lines changed: 35 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -127,51 +127,79 @@ export default [
127127
},
128128
{
129129
name: 'PrimeVue',
130-
description: `The open-source UI component library [PrimeVue](https://www.primefaces.org/primevue/#/?af_id=4218) offers over 50 flexible components to build your apps with! They have a ton of different component themes and Vue-CLI application templates available to get the look&feel that suits you best.`,
130+
description: `The open-source UI component library [PrimeVue](https://www.primefaces.org/primevue/#/?af_id=4218) offers over 80 flexible components to build your apps with! They have a ton of different component themes and Vue-CLI application templates available to get the look&feel that suits you best.`,
131131
seeMoreUrl: 'https://www.primefaces.org/primevue/#/?af_id=4218',
132132
products: [
133133
{
134-
name: 'Sapphire',
134+
name: 'Freya',
135+
price: 59,
136+
description: 'Premium Admin Template',
137+
url: 'https://www.primefaces.org/layouts/freya-vue?af_id=4218',
138+
image: 'https://www.primefaces.org/vue-templates/freya.jpg'
139+
},
140+
{
141+
name: 'Diamond',
142+
price: 59,
143+
description: 'PrimeOne Design Admin Template',
144+
url: 'https://www.primefaces.org/layouts/diamond-vue?af_id=4218',
145+
image: 'https://www.primefaces.org/vue-templates/diamond.jpg'
146+
},
147+
{
148+
name: 'Ultima',
135149
price: 79,
136150
description: 'Material Design Admin Template',
151+
url: 'https://www.primefaces.org/layouts/ultima-vue?af_id=4218',
152+
image: 'https://www.primefaces.org/vue-templates/ultima.jpg'
153+
},
154+
{
155+
name: 'Sapphire',
156+
price: 49,
157+
description: 'Material Design Admin Template',
137158
url: 'https://www.primefaces.org/layouts/sapphire-vue?af_id=4218',
138159
image: 'https://www.primefaces.org/vue-templates/sapphire.jpg'
139160
},
140161
{
141162
name: 'Avalon',
142-
price: 79,
163+
price: 49,
143164
description: 'Bootstrap Inspired Admin Template',
144165
url: 'https://www.primefaces.org/layouts/avalon-vue?af_id=4218',
145166
image: 'https://www.primefaces.org/vue-templates/avalon.jpg'
146167
},
147168
{
148169
name: 'Serenity',
149-
price: 79,
170+
price: 49,
150171
description: 'Material Design Admin Template',
151172
url: 'https://www.primefaces.org/layouts/serenity-vue?af_id=4218',
152173
image: 'https://www.primefaces.org/vue-templates/serenity.jpg'
153174
},
154175
{
155176
name: 'Apollo',
156-
price: 79,
177+
price: 49,
157178
description: 'Admin Template with a Dark Mode',
158179
url: 'https://www.primefaces.org/layouts/apollo-vue?af_id=4218',
159180
image: 'https://www.primefaces.org/vue-templates/apollo.jpg'
160181
},
161182
{
162183
name: 'Babylon',
163-
price: 79,
184+
price: 49,
164185
description: 'Admin Template with Extensive Options',
165186
url: 'https://www.primefaces.org/layouts/babylon-vue?af_id=4218',
166187
image: 'https://www.primefaces.org/vue-templates/babylon.jpg'
167188
},
168189
{
169190
name: 'Roma',
170-
price: 59,
191+
price: 39,
171192
description: 'Admin Template with a Clean Design System',
172193
url: 'https://www.primefaces.org/layouts/roma-vue?af_id=4218',
173194
image: 'https://www.primefaces.org/vue-templates/roma.jpg'
174195
},
196+
{
197+
name: 'Prestige',
198+
price: 39,
199+
description: 'Highly Customizable Admin Template',
200+
url: 'https://www.primefaces.org/layouts/prestige-vue?af_id=4218',
201+
image: 'https://www.primefaces.org/vue-templates/prestige.jpg'
202+
},
175203
{
176204
name: 'Sigma',
177205
price: 0,

0 commit comments

Comments
 (0)