Skip to content

Commit abe0136

Browse files
committed
Merge remote-tracking branch 'refs/remotes/origin/main'
Conflicts: .vitepress/theme/components/VueMasteryBanner.vue .vitepress/theme/index.ts
2 parents f10ca35 + 5281fd3 commit abe0136

File tree

9 files changed

+43
-43
lines changed

9 files changed

+43
-43
lines changed

.vitepress/config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -401,7 +401,7 @@ export const sidebar = {
401401
]
402402
},
403403
{
404-
text: 'Single File Component',
404+
text: 'Single-File Component',
405405
items: [
406406
{ text: 'Syntax Specification', link: '/api/sfc-spec' },
407407
{ text: '<script setup>', link: '/api/sfc-script-setup' },

.vitepress/theme/components/VueMasteryBanner.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ const isVisible = ref(false)
2424
2525
onMounted(() => {
2626
const now = new Date()
27-
const end = new Date('2022-07-24T00:00:00+02:00')
27+
const end = new Date('2022-07-25T00:00:00+02:00')
2828
isVisible.value = !localStorage.getItem('VM_FW_22_OFFER') && (now < end)
2929
if (isVisible.value) document.body.classList.add('has-top-banner')
3030
})

.vitepress/theme/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,14 @@ import { h, App } from 'vue'
33
import { VPTheme } from '@vue/theme'
44
import PreferenceSwitch from './components/PreferenceSwitch.vue'
55
import VueMasteryBanner from './components/VueMasteryBanner.vue'
6-
import VueSchoolLink from './components/VueSchoolLink.vue'
76
import {
87
preferComposition,
98
preferSFC,
109
filterHeadersByPreference
1110
} from './components/preferences'
1211
import SponsorsAside from './components/SponsorsAside.vue'
1312
import VueJobs from './components/VueJobs.vue'
13+
import VueSchoolLink from './components/VueSchoolLink.vue'
1414

1515
export default Object.assign({}, VPTheme, {
1616
Layout: () => {

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
},
1111
"dependencies": {
1212
"@vue/repl": "^1.2.4",
13-
"@vue/theme": "^1.0.2",
13+
"@vue/theme": "^1.0.4",
1414
"dynamics.js": "^1.1.5",
1515
"gsap": "^3.9.0",
1616
"vitepress": "^0.22.4",

pnpm-lock.yaml

Lines changed: 35 additions & 35 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/api/sfc-script-setup.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# \<script setup>
22

3-
`<script setup>` is a compile-time syntactic sugar for using Composition API inside Single File Components (SFCs). It is the recommended syntax if you are using both SFCs and Composition API. It provides a number of advantages over the normal `<script>` syntax:
3+
`<script setup>` is a compile-time syntactic sugar for using Composition API inside Single-File Components (SFCs). It is the recommended syntax if you are using both SFCs and Composition API. It provides a number of advantages over the normal `<script>` syntax:
44

55
- More succinct code with less boilerplate
66
- Ability to declare props and emitted events using pure TypeScript

src/guide/essentials/forms.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ In addition, `v-model` can be used on inputs of different types, `<textarea>`, a
7474

7575
<span id="vmodel-ime-tip"></span>
7676
::: tip Note
77-
For languages that require an [IME](https://en.wikipedia.org/wiki/Input_method) (Chinese, Japanese, Korean etc.), you'll notice that `v-model` doesn't get updated during IME composition. If you want to respond to these updates as well, use an `input` event listener and `value` binding instead of using `v-model`.
77+
For languages that require an [IME](https://en.wikipedia.org/wiki/Input_method) (Chinese, Japanese, Korean etc.), you'll notice that `v-model` doesn't get updated during IME composition. If you want to respond to these updates as well, use your own `input` event listener and `value` binding instead of using `v-model`.
7878
:::
7979

8080
### Multiline text

src/guide/essentials/list.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -317,7 +317,7 @@ Check out [this example of a simple todo list](https://sfc.vuejs.org/#eyJBcHAudn
317317

318318
### Mutation Methods
319319

320-
Vue is able to detect when an reactive array's mutation methods are called and trigger necessary updates. These mutation methods are:
320+
Vue is able to detect when a reactive array's mutation methods are called and trigger necessary updates. These mutation methods are:
321321

322322
- `push()`
323323
- `pop()`

src/tutorial/src/step-2/description.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
<div class="sfc">
44

5-
What you see in the editor is a Vue Single File Component (SFC). An SFC is a reusable self-contained block of code that encapsulates HTML, CSS and JavaScript that belong together, written inside a `.vue` file.
5+
What you see in the editor is a Vue Single-File Component (SFC). An SFC is a reusable self-contained block of code that encapsulates HTML, CSS and JavaScript that belong together, written inside a `.vue` file.
66

77
</div>
88

0 commit comments

Comments
 (0)