update domain + redirect

pull/2059/head
Evan You 1 year ago
parent 322c633fd0
commit 3690714a32

@ -54,7 +54,7 @@ body:
options: options:
- label: Follow our [Code of Conduct](https://vuejs.org/about/coc.html) - label: Follow our [Code of Conduct](https://vuejs.org/about/coc.html)
required: true required: true
- label: Read the [docs](https://vitepress.vuejs.org). - label: Read the [docs](https://vitepress.dev).
required: true required: true
- label: Check that there isn't already an issue that reports the same bug to avoid creating a duplicate. - label: Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
required: true required: true

@ -37,7 +37,7 @@ body:
options: options:
- label: Follow our [Code of Conduct](https://vuejs.org/about/coc.html) - label: Follow our [Code of Conduct](https://vuejs.org/about/coc.html)
required: true required: true
- label: Read the [docs](https://vitepress.vuejs.org). - label: Read the [docs](https://vitepress.dev).
required: true required: true
- label: Read the [Contributing Guidelines](https://github.com/vuejs/vitepress/blob/main/.github/contributing.md). - label: Read the [Contributing Guidelines](https://github.com/vuejs/vitepress/blob/main/.github/contributing.md).
required: true required: true

@ -12,7 +12,7 @@ Currently, it's in the `alpha` stage. It is already suitable for out-of-the-box
## Documentation ## Documentation
To check out docs, visit [vitepress.vuejs.org](https://vitepress.vuejs.org). To check out docs, visit [vitepress.dev](https://vitepress.dev).
## Changelog ## Changelog

@ -38,7 +38,7 @@ Unlike many traditional SSGs, a website generated by VitePress is in fact a [Sin
- **Fast Initial Load** - **Fast Initial Load**
The initial visit to any page will be served the static, pre-rendered HTML for blazing fast loading speed and optimal SEO. The page then loads a JavaScript bundle that turns the page into a Vue SPA ("hydration"). The hydration process is extremely fast: on [PageSpeed Insights](https://pagespeed.web.dev/report?url=https%3A%2F%2Fvitepress.vuejs.org%2F), typical VitePress sites achieve near-perfect performance scores even on low-end mobile devices with a slow network. The initial visit to any page will be served the static, pre-rendered HTML for blazing fast loading speed and optimal SEO. The page then loads a JavaScript bundle that turns the page into a Vue SPA ("hydration"). The hydration process is extremely fast: on [PageSpeed Insights](https://pagespeed.web.dev/report?url=https%3A%2F%2Fvitepress.dev%2F), typical VitePress sites achieve near-perfect performance scores even on low-end mobile devices with a slow network.
- **Fast Post-load Navigation** - **Fast Post-load Navigation**

@ -0,0 +1 @@
https://vitepress.dev/* https://vitepress.dev/:splat 301!

@ -207,7 +207,7 @@ interface TeamMember {
// Social links. e.g. GitHub, Twitter, etc. You may pass in // Social links. e.g. GitHub, Twitter, etc. You may pass in
// the Social Links object here. // the Social Links object here.
// See: https://vitepress.vuejs.org/reference/default-theme-config.html#sociallinks // See: https://vitepress.dev/reference/default-theme-config.html#sociallinks
links?: SocialLink[] links?: SocialLink[]
// URL for the sponsor page for the member. // URL for the sponsor page for the member.

@ -17,7 +17,7 @@ export const setupDevtools = (
id: 'org.vuejs.vitepress', id: 'org.vuejs.vitepress',
label: 'VitePress', label: 'VitePress',
packageName: 'vitepress', packageName: 'vitepress',
homepage: 'https://vitepress.vuejs.org', homepage: 'https://vitepress.dev',
componentStateTypes: [COMPONENT_STATE_TYPE] componentStateTypes: [COMPONENT_STATE_TYPE]
}, },
(api) => { (api) => {

@ -1,11 +1,11 @@
import { defineConfig } from 'vitepress' import { defineConfig } from 'vitepress'
// https://vitepress.vuejs.org/reference/site-config // https://vitepress.dev/reference/site-config
export default defineConfig({ export default defineConfig({
title: <%= title %>, title: <%= title %>,
description: <%= description %><% if (defaultTheme) { %>, description: <%= description %><% if (defaultTheme) { %>,
themeConfig: { themeConfig: {
// https://vitepress.vuejs.org/reference/default-theme-config // https://vitepress.dev/reference/default-theme-config
nav: [ nav: [
{ text: 'Home', link: '/' }, { text: 'Home', link: '/' },
{ text: 'Examples', link: '/markdown-examples' } { text: 'Examples', link: '/markdown-examples' }

@ -1,7 +1,7 @@
<script setup<%= useTs ? ' lang="ts"' : '' %>> <script setup<%= useTs ? ' lang="ts"' : '' %>>
import { useData } from 'vitepress' import { useData } from 'vitepress'
// https://vitepress.vuejs.org/reference/runtime-api#usedata // https://vitepress.dev/reference/runtime-api#usedata
const { site, frontmatter } = useData() const { site, frontmatter } = useData()
</script> </script>

@ -1,4 +1,4 @@
// https://vitepress.vuejs.org/guide/custom-theme // https://vitepress.dev/guide/custom-theme
<% if (!defaultTheme) { %>import Layout from './Layout.vue' <% if (!defaultTheme) { %>import Layout from './Layout.vue'
import './style.css' import './style.css'
@ -16,7 +16,7 @@ export default {
...Theme, ...Theme,
Layout: () => { Layout: () => {
return h(Theme.Layout, null, { return h(Theme.Layout, null, {
// https://vitepress.vuejs.org/guide/extending-default-theme#layout-slots // https://vitepress.dev/guide/extending-default-theme#layout-slots
}) })
}, },
enhanceApp({ app, router, siteData }) { enhanceApp({ app, router, siteData }) {

@ -52,4 +52,4 @@ const { site, theme, page, frontmatter } = useData()
## More ## More
Check out the documentation for the [full list of runtime APIs](https://vitepress.vuejs.org/reference/runtime-api#usedata). Check out the documentation for the [full list of runtime APIs](https://vitepress.dev/reference/runtime-api#usedata).

@ -1,5 +1,5 @@
<% if (defaultTheme) { %>--- <% if (defaultTheme) { %>---
# https://vitepress.vuejs.org/reference/default-theme-home-page # https://vitepress.dev/reference/default-theme-home-page
layout: home layout: home
hero: hero:

@ -82,4 +82,4 @@ This is a details block.
## More ## More
Check out the documentation for the [full list of markdown extensions](https://vitepress.vuejs.org/guide/markdown). Check out the documentation for the [full list of markdown extensions](https://vitepress.dev/guide/markdown).

Loading…
Cancel
Save