Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .vitepress/buildEnd.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { Feed } from 'feed'
import type { SiteConfig } from 'vitepress'
import { createContentLoader } from 'vitepress'

const siteUrl = 'https://vitejs.dev'
const siteUrl = 'https://vite.dev'
const blogUrl = `${siteUrl}/blog`

export const buildEnd = async (config: SiteConfig): Promise<void> => {
Expand All @@ -14,8 +14,8 @@ export const buildEnd = async (config: SiteConfig): Promise<void> => {
id: blogUrl,
link: blogUrl,
language: 'en',
image: 'https://vitejs.dev/og-image.png',
favicon: 'https://vitejs.dev/logo.svg',
image: 'https://vite.dev/og-image.png',
favicon: 'https://vite.dev/logo.svg',
copyright: 'Copyright © 2019-present VoidZero Inc. & Vite Contributors',
})

Expand Down
26 changes: 13 additions & 13 deletions .vitepress/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import { buildEnd } from './buildEnd.config'
const ogDescription = '次世代フロントエンドツール'
const ogImage = 'https://vite.dev/og-image.jpg'
const ogTitle = 'Vite'
const ogUrl = 'https://vitejs.dev'
const ogUrl = 'https://vite.dev'

// netlify envs
const deployURL = process.env.DEPLOY_PRIME_URL || ''
Expand Down Expand Up @@ -40,15 +40,15 @@ const versionLinks = ((): DefaultTheme.NavItemWithLink[] => {
const oldVersions: DefaultTheme.NavItemWithLink[] = [
{
text: 'Vite 4 ドキュメント',
link: 'https://v4.vitejs.dev',
link: 'https://v4.vite.dev',
},
{
text: 'Vite 3 ドキュメント',
link: 'https://v3.vitejs.dev',
link: 'https://v3.vite.dev',
},
{
text: 'Vite 2 ドキュメント',
link: 'https://v2.vitejs.dev',
link: 'https://v2.vite.dev',
},
]

Expand All @@ -58,7 +58,7 @@ const versionLinks = ((): DefaultTheme.NavItemWithLink[] => {
return [
{
text: 'Vite 5 ドキュメント(リリース)',
link: 'https://vitejs.dev',
link: 'https://vite.dev',
},
...oldVersions,
]
Expand Down Expand Up @@ -124,12 +124,12 @@ export default defineConfig({

locales: {
root: { label: '日本語' },
en: { label: 'English', link: 'https://vitejs.dev' },
zh: { label: '简体中文', link: 'https://cn.vitejs.dev' },
es: { label: 'Español', link: 'https://es.vitejs.dev' },
pt: { label: 'Português', link: 'https://pt.vitejs.dev' },
ko: { label: '한국어', link: 'https://ko.vitejs.dev' },
de: { label: 'Deutsch', link: 'https://de.vitejs.dev' },
en: { label: 'English', link: 'https://vite.dev' },
zh: { label: '简体中文', link: 'https://cn.vite.dev' },
es: { label: 'Español', link: 'https://es.vite.dev' },
pt: { label: 'Português', link: 'https://pt.vite.dev' },
ko: { label: '한국어', link: 'https://ko.vite.dev' },
de: { label: 'Deutsch', link: 'https://de.vite.dev' },
},

themeConfig: {
Expand All @@ -143,7 +143,7 @@ export default defineConfig({
socialLinks: [
{ icon: 'mastodon', link: 'https://elk.zone/m.webtoo.ls/@vite' },
{ icon: 'twitter', link: 'https://twitter.com/vite_js' },
{ icon: 'discord', link: 'https://chat.vitejs.dev' },
{ icon: 'discord', link: 'https://chat.vite.dev' },
{ icon: 'github', link: 'https://github.com/vitejs/vite' },
],

Expand Down Expand Up @@ -195,7 +195,7 @@ export default defineConfig({
},
{
text: 'Discord Chat',
link: 'https://chat.vitejs.dev',
link: 'https://chat.vite.dev',
},
{
text: 'Awesome Vite',
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Vite Docs JA

[Vite ドキュメント](https://vitejs.dev)の日本語翻訳リポジトリーです。現状、本リポジトリーは翻訳作業用のものとして一時的に用意されています。将来的に、本リポジトリーは別場所に移動される可能性があります。
[Vite ドキュメント](https://vite.dev)の日本語翻訳リポジトリーです。現状、本リポジトリーは翻訳作業用のものとして一時的に用意されています。将来的に、本リポジトリーは別場所に移動される可能性があります。

## 貢献ガイド
[Vite 日本語翻訳ガイド](https://github.com/vitejs/docs-ja/blob/main/CONTRIBUTING.md) を一読お願いします!
Expand Down
10 changes: 5 additions & 5 deletions blog/announcing-vite2.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ head:
content: Announcing Vite 2.0
- - meta
- property: og:url
content: https://vitejs.dev/blog/announcing-vite2
content: https://vite.dev/blog/announcing-vite2
- - meta
- property: og:description
content: Vite 2 Release Announcement
Expand All @@ -33,7 +33,7 @@ Vite (French word for "fast", pronounced `/vit/`) is a new kind of build tool fo

To get a sense of how fast Vite is, check out [this video comparison](https://twitter.com/amasad/status/1355379680275128321) of booting up a React application on Repl.it using Vite vs. `create-react-app` (CRA).

If you've never heard of Vite before and would love to learn more about it, check out [the rationale behind the project](https://vitejs.dev/guide/why.html). If you are interested in how Vite differs from other similar tools, check out the [comparisons](https://vitejs.dev/guide/comparisons.html).
If you've never heard of Vite before and would love to learn more about it, check out [the rationale behind the project](https://vite.dev/guide/why.html). If you are interested in how Vite differs from other similar tools, check out the [comparisons](https://vite.dev/guide/comparisons.html).

## What's New in 2.0

Expand All @@ -49,7 +49,7 @@ Vite 2.0 takes what we learned along the way and is redesigned from scratch with

Inspired by [WMR](https://github.com/preactjs/wmr), the new plugin system extends Rollup's plugin interface and is [compatible with many Rollup plugins](https://vite-rollup-plugins.patak.dev/) out of the box. Plugins can use Rollup-compatible hooks, with additional Vite-specific hooks and properties to adjust Vite-only behavior (e.g. differentiating dev vs. build or custom handling of HMR).

The [programmatic API](https://vitejs.dev/guide/api-javascript.html) has also been greatly improved to facilitate higher level tools / frameworks built on top of Vite.
The [programmatic API](https://vite.dev/guide/api-javascript.html) has also been greatly improved to facilitate higher level tools / frameworks built on top of Vite.

### esbuild Powered Dep Pre-Bundling

Expand All @@ -65,7 +65,7 @@ Vite treats CSS as a first-class citizen of the module graph and supports the fo

### Server-Side Rendering (SSR) Support

Vite 2.0 ships with [experimental SSR support](https://vitejs.dev/guide/ssr.html). Vite provides APIs to efficiently load and update ESM-based source code in Node.js during development (almost like server-side HMR), and automatically externalizes CommonJS-compatible dependencies to improve development and SSR build speed. The production server can be completely decoupled from Vite, and the same setup can be easily adapted to perform pre-rendering / SSG.
Vite 2.0 ships with [experimental SSR support](https://vite.dev/guide/ssr.html). Vite provides APIs to efficiently load and update ESM-based source code in Node.js during development (almost like server-side HMR), and automatically externalizes CommonJS-compatible dependencies to improve development and SSR build speed. The production server can be completely decoupled from Vite, and the same setup can be easily adapted to perform pre-rendering / SSG.

Vite SSR is provided as a low-level feature and we are expecting to see higher level frameworks leveraging it under the hood.

Expand All @@ -81,4 +81,4 @@ That was a lot of features, but getting started with Vite is simple! You can spi
npm init @vitejs/app
```

Then, check out [the guide](https://vitejs.dev/guide/) to see what Vite provides out of the box. You can also check out the source code on [GitHub](https://github.com/vitejs/vite), follow updates on [Twitter](https://twitter.com/vite_js), or join discussions with other Vite users on our [Discord chat server](http://chat.vitejs.dev/).
Then, check out [the guide](https://vite.dev/guide/) to see what Vite provides out of the box. You can also check out the source code on [GitHub](https://github.com/vitejs/vite), follow updates on [Twitter](https://twitter.com/vite_js), or join discussions with other Vite users on our [Discord chat server](http://chat.vite.dev/).
Loading