Skip to content

Commit 7d45ef0

Browse files
authored
Merge branch 'master' into docs/18-add-deployment-page
2 parents 18ccfea + 0feab1c commit 7d45ef0

File tree

140 files changed

+3199
-1265
lines changed

Some content is hidden

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

140 files changed

+3199
-1265
lines changed

.github/pull_request_template.md

+3-7
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
1-
# ⚠️⚠️⚠️ DISCLAIMER ⚠️⚠️⚠️:
1+
## Description of Problem
22

3-
Thanks for your interest in submitting a PR! At this time, because the docs are in beta, the team is currently in the midst of changes. As a result, **we are not ready for additional contributions yet**.
3+
## Proposed Solution
44

5-
## How can I provide feedback?
6-
7-
To be respectful of your time and ideas, **please [create an issue](https://github.com/vuejs/docs-next/issues/new) instead of a pull request**. Otherwise, we will have to simply close your pull request at this time.
8-
9-
Thanks for your understanding!
5+
## Additional Information

README.md

-2
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@ This site is built with [VuePress](https://vuepress.vuejs.org/). Site content is
66

77
See the [Vue Docs Writing Guide](https://v3.vuejs.org/guide/writing-guide.html) for our rules and recommendations on writing and maintaining documentation.
88

9-
> The docs are in beta: The team is currently in the midst of changes and we are not ready for additional contributions yet. All content is subject to change. If you see a problem that you would like to bring to our attention, please [create an issue](https://github.com/vuejs/docs-next/issues/new) and we will get to it when we can. You may want to wait until the content is finalized, though.
10-
119
## Developing
1210

1311
1. Clone repository

assets/transitions-diagram.ai.zip

1.14 MB
Binary file not shown.

package.json

+6-1
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,19 @@
11
{
22
"devDependencies": {
3+
"@vuepress/plugin-pwa": "^1.5.4",
34
"node-sass": "^4.13.1",
45
"sass-loader": "^8.0.2",
5-
"vuepress": "^1.3.0"
6+
"vuepress": "^1.5.4"
67
},
78
"scripts": {
9+
"dev": "yarn serve",
810
"serve": "vuepress dev src",
911
"build": "vuepress build src"
1012
},
1113
"dependencies": {
14+
"@docsearch/css": "^1.0.0-alpha.27",
15+
"@docsearch/js": "^1.0.0-alpha.27",
16+
"algoliasearch": "^4.4.0",
1217
"axios": "^0.19.1",
1318
"intersection-observer": "^0.11.0",
1419
"showdown": "^1.9.1"

src/.vuepress/components/BetaBanner.vue renamed to src/.vuepress/components/AppBanner.vue

+3-7
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,7 @@
11
<template>
22
<ClientOnly>
3-
<aside class="beta-banner" v-if="shouldShow">
4-
<p>
5-
<span class="hide-sm">⚠️ Beta Version:</span>
6-
Docs
7-
<span class="hide-sm">are</span> in development and subject to change.
8-
</p>
3+
<aside class="app-banner" v-if="shouldShow">
4+
<slot></slot>
95
<button ref="closeButton" @click="close">Close</button>
106
</aside>
117
</ClientOnly>
@@ -39,7 +35,7 @@ export default {
3935
<style lang="scss" scoped>
4036
@import '../theme/styles/mixins.scss';
4137
42-
.beta-banner {
38+
.app-banner {
4339
position: fixed;
4440
z-index: 21;
4541
top: 0;

src/.vuepress/components/MigrationBadges.vue

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ export default {
77
type: Array,
88
default: () => [],
99
validator(value) {
10-
return validBadges.includes(value)
10+
return value.every(badge => validBadges.includes(badge))
1111
}
1212
}
1313
}
+50
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
<script>
2+
export default {
3+
props: {
4+
href: {
5+
type: String,
6+
required: true
7+
},
8+
title: {
9+
type: String,
10+
default: ''
11+
}
12+
}
13+
}
14+
</script>
15+
16+
<template>
17+
<section class="video-lesson">
18+
<a :href="href" target="_blank" rel="sponsored noopener" :title="title">
19+
<slot></slot>
20+
</a>
21+
</section>
22+
</template>
23+
24+
<style lang="scss">
25+
.video-lesson {
26+
display: flex;
27+
align-items: center;
28+
background-color: #e7ecf3;
29+
padding: 1em 1.25em;
30+
border-radius: 2px;
31+
color: #486491;
32+
position: relative;
33+
margin: 24px 0;
34+
35+
a {
36+
color: #486491;
37+
position: relative;
38+
padding-left: 16px;
39+
}
40+
41+
&::before {
42+
content: '\f144';
43+
font-family: 'FontAwesome';
44+
font-size: 2em;
45+
display: inline-block;
46+
color: #73abfe;
47+
vertical-align: middle;
48+
}
49+
}
50+
</style>

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

+19-10
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,18 @@
11
<template>
22
<div class="overlay" v-show="isOpen">
33
<div ref="modal" class="modal" :class="{ open: isOpen }">
4-
<div class="video-space" style="padding: 56.25% 0 0 0; position: relative;">
4+
<div
5+
class="video-space"
6+
style="padding: 56.25% 0 0 0; position: relative;"
7+
>
58
<iframe
6-
src="https://player.vimeo.com/video/247494684?dnt=1"
9+
src="https://player.vimeo.com/video/455611549?dnt=1"
710
style="height: 100%; left: 0; position: absolute; top: 0; width: 100%; margin: 0"
811
frameborder="0"
912
webkitallowfullscreen
1013
mozallowfullscreen
1114
allowfullscreen
15+
allow="autoplay"
1216
ref="videoIframe"
1317
></iframe>
1418
</div>
@@ -20,14 +24,15 @@
2024
target="_blank"
2125
rel="sponsored noopener"
2226
title="Vue.js Courses on Vue Mastery"
23-
>Vue Mastery</a>.
24-
Watch Vue Mastery’s free
27+
>Vue Mastery</a
28+
>. Watch Vue Mastery’s free
2529
<a
26-
href="https://www.vuemastery.com/courses/intro-to-vue-js/vue-instance/"
30+
href="https://www.vuemastery.com/courses/intro-to-vue-3/intro-to-vue3"
2731
target="_blank"
2832
rel="sponsored noopener"
2933
title="Vue.js Courses on Vue Mastery"
30-
>Intro to Vue course</a>.
34+
>Intro to Vue course</a
35+
>.
3136
</p>
3237
</div>
3338
</div>
@@ -47,7 +52,7 @@ export default {
4752
}),
4853
4954
methods: {
50-
initVideoModal () {
55+
initVideoModal() {
5156
const modalButton = document.querySelector(this.triggerSelector)
5257
const player = new Vimeo.Player(this.$refs.videoIframe)
5358
@@ -59,7 +64,11 @@ export default {
5964
})
6065
6166
document.body.addEventListener('click', event => {
62-
if (this.isOpen && event.target !== modalButton && !this.$refs.modal.contains(event.target)) {
67+
if (
68+
this.isOpen &&
69+
event.target !== modalButton &&
70+
!this.$refs.modal.contains(event.target)
71+
) {
6372
this.isOpen = false
6473
document.body.classList.remove('stop-scroll')
6574
player.pause()
@@ -68,7 +77,7 @@ export default {
6877
}
6978
},
7079
71-
mounted () {
80+
mounted() {
7281
if (typeof window !== 'undefined') {
7382
this.initVideoModal()
7483
}
@@ -77,7 +86,7 @@ export default {
7786
</script>
7887

7988
<style lang="scss">
80-
@import "@theme/styles/_settings.scss";
89+
@import '@theme/styles/_settings.scss';
8190
8291
.modal {
8392
box-sizing: border-box;

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

+11-1
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@ const members = [
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

+49
Original file line numberDiff line numberDiff line change
@@ -180,5 +180,54 @@ export default [
180180
image: 'https://www.primefaces.org/vue-templates/sigma.jpg'
181181
}
182182
]
183+
},
184+
{
185+
name: 'Flatlogic',
186+
description: `Check the admin dashboards templates built by our partners from [Flatlogic](https://flatlogic.com/templates?ref=x-fdkuTAVW). With these themes you can see how real applications is built. Additionally these templates will help you to start a new application and save you time and money.`,
187+
seeMoreUrl: 'https://flatlogic.com/templates?ref=x-fdkuTAVW',
188+
products: [
189+
{
190+
name: 'Sing App Vue',
191+
price: 99,
192+
description: 'Vue Admin Dashboard Template',
193+
url: 'https://flatlogic.com/templates/sing-app-vue?ref=x-fdkuTAVW',
194+
image: 'https://flatlogic.com/assets/templates/sing_vue_full-cb6b9fdd0465a0d60c0fafa2deca1929cc4966957c8e1ce57565a5e2f45ff043.webp'
195+
},
196+
{
197+
name: 'Sing App Vue Node.js',
198+
price: 149,
199+
description: 'Vue Admin Dashboard Template with Node.JS Backend',
200+
url: 'https://flatlogic.com/templates/sing-app-vue-node-js?ref=x-fdkuTAVW',
201+
image: 'https://flatlogic.com/assets/templates/sing_vue_full_nodejs-78af09220a2d085fec9bbc1071879915b30737f25d72669152f3b090291609aa.webp'
202+
},
203+
{
204+
name: 'Light Blue Vue',
205+
price: 99,
206+
description: 'Vue Admin Dashboard Template',
207+
url: 'https://flatlogic.com/templates/light-blue-vue?ref=x-fdkuTAVW',
208+
image: 'https://flatlogic.com/assets/templates/light_blue_vue_full-e044d30242912d5756b190e576bf30ea967b725c09d2e371a7eabf1c6a9c33b2.webp'
209+
},
210+
{
211+
name: 'Light Blue Vue Admin',
212+
price: 0,
213+
description: 'Free and Open Source Vue JS Template for Admin Dashboard',
214+
url: 'https://flatlogic.com/templates/light-blue-vue-lite?ref=x-fdkuTAVW',
215+
image: 'https://flatlogic.com/assets/templates/light_blue_vue_lite-c1937a2a01e5e8e8ede29a3ead011126e9dab5c58b9017daefe36411f9a1089e.webp'
216+
},
217+
{
218+
name: 'Sing App Vue Dashboard',
219+
price: 0,
220+
description: 'Free and Open Source Vue.js Admin Dashboard Template',
221+
url: 'https://flatlogic.com/templates/sing-app-vue-dashboard?ref=x-fdkuTAVW',
222+
image: 'https://flatlogic.com/assets/templates/sing_vue_lite-ae3ec037404bc9ae29599a16afe276e638bd916713d75946c604feb69323ec21.webp'
223+
},
224+
{
225+
name: 'Light Blue Vue Node.js',
226+
price: 149,
227+
description: 'Vue Admin Template with Node.JS Backend',
228+
url: 'https://flatlogic.com/templates/light-blue-vue-node-js?ref=x-fdkuTAVW',
229+
image: 'https://flatlogic.com/assets/templates/light_blue_vue_full_nodejs-06f941c849f0a83a3c0d38c728101eace06a7515ea048f12bcd91f165280246f.webp'
230+
}
231+
]
183232
}
184233
]

0 commit comments

Comments
 (0)