update domain + redirect

pull/2059/head
Evan You 2 years ago
parent 322c633fd0
commit 3690714a32

@ -6,7 +6,7 @@ body:
attributes:
value: |
"Thanks for taking the time to fill out this bug report!
VitePress is still WIP, and it is not compatible with VuePress.
VitePress is still WIP, and it is not compatible with VuePress.
Please do not open issue about default theme missing features or something doesn't work like VuePress."
- type: textarea
id: bug-description
@ -54,7 +54,7 @@ body:
options:
- label: Follow our [Code of Conduct](https://vuejs.org/about/coc.html)
required: true
- label: Read the [docs](https://vitepress.vuejs.org).
- label: Read the [docs](https://vitepress.dev).
required: true
- label: Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
required: true

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

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

@ -38,7 +38,7 @@ Unlike many traditional SSGs, a website generated by VitePress is in fact a [Sin
- **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**

@ -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
// 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[]
// URL for the sponsor page for the member.

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

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

@ -1,7 +1,7 @@
<script setup<%= useTs ? ' lang="ts"' : '' %>>
import { useData } from 'vitepress'
// https://vitepress.vuejs.org/reference/runtime-api#usedata
// https://vitepress.dev/reference/runtime-api#usedata
const { site, frontmatter } = useData()
</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'
import './style.css'
@ -16,7 +16,7 @@ export default {
...Theme,
Layout: () => {
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 }) {

@ -52,4 +52,4 @@ const { site, theme, page, frontmatter } = useData()
## 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) { %>---
# https://vitepress.vuejs.org/reference/default-theme-home-page
# https://vitepress.dev/reference/default-theme-home-page
layout: home
hero:

@ -82,4 +82,4 @@ This is a details block.
## 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