Skip to content
This repository was archived by the owner on Sep 3, 2024. It is now read-only.

[Done] Korean Translation #88

Merged
merged 165 commits into from
Apr 24, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
165 commits
Select commit Hold shift + click to select a range
1b63aee
Update README.md
DiyLecko Apr 20, 2017
0fa530c
Translate lang.json
DiyLecko Apr 20, 2017
e6eb223
guide/menu.json
DiyLecko Apr 20, 2017
bc4024f
Update guide/menu.json
DiyLecko Apr 20, 2017
1e65927
guide/index.md
DiyLecko Apr 20, 2017
13ce0b3
guide/contribution-guide.md
DiyLecko Apr 20, 2017
62c2fb3
add ko/guide/configuration.md
jicjjang Apr 20, 2017
4365fc8
Merge pull request #10 from jicjjang/translation-ko
DiyLecko Apr 20, 2017
88ea199
guide/installation.md
DiyLecko Apr 20, 2017
f83842e
guide/installation.md
DiyLecko Apr 20, 2017
b2a28e2
Merge branch 'guide/installation.md' of https://github.com/DiyLecko/k…
DiyLecko Apr 20, 2017
4c556e5
Merge pull request #14 from DiyLecko/guide/installation.md
DiyLecko Apr 20, 2017
53d5b15
add ko/examples/async-data.md
jicjjang Apr 20, 2017
34db7c7
add ko/examples/auth-routes.md
jicjjang Apr 20, 2017
462c912
add ko/examples/cached-components.md
jicjjang Apr 20, 2017
6b09293
modified ko/examples/auth-routes.md
jicjjang Apr 20, 2017
c91cce9
add ko/examples/custom-loading.md
jicjjang Apr 20, 2017
69ae531
add ko/examples/custom-routes.md
jicjjang Apr 20, 2017
0a9ef59
Reflect "update middleware alias · nuxt/docs@be36811" to Japanese tra…
inouetakuya Apr 18, 2017
ceed459
Reflect "add layout as function · nuxt/docs@2bfb234" to Japanese tran…
inouetakuya Apr 18, 2017
1dd9f46
Reflect "Update doc for 0.10 · nuxt/docs@11d0be2" to Japanese transla…
inouetakuya Apr 18, 2017
10ffd1f
Update transition example to match Vue one
rspt Apr 16, 2017
b5166b4
Update README.md
DiyLecko Apr 20, 2017
bb6272e
Translate lang.json
DiyLecko Apr 20, 2017
b911ab7
guide/menu.json
DiyLecko Apr 20, 2017
02d47ff
Update guide/menu.json
DiyLecko Apr 20, 2017
0b5779c
guide/index.md
DiyLecko Apr 20, 2017
5d9b19f
guide/contribution-guide.md
DiyLecko Apr 20, 2017
07fd626
add ko/guide/configuration.md
jicjjang Apr 20, 2017
40b3a47
add ko/examples/async-data.md
jicjjang Apr 20, 2017
2f4fc15
add ko/examples/auth-routes.md
jicjjang Apr 20, 2017
e644036
add ko/examples/cached-components.md
jicjjang Apr 20, 2017
95fd61e
modified ko/examples/auth-routes.md
jicjjang Apr 20, 2017
544d6c8
add ko/examples/custom-loading.md
jicjjang Apr 20, 2017
903d179
add ko/examples/custom-routes.md
jicjjang Apr 20, 2017
857a927
add ko/examples/global-css.md
jicjjang Apr 20, 2017
b4c5806
add ko/examples/hello-world.md
jicjjang Apr 20, 2017
eb2c8f5
add ko/examples/i18n.md
jicjjang Apr 20, 2017
28089b3
add ko/examples/layouts.md
jicjjang Apr 20, 2017
7276e86
add ko/examples/menu.json
jicjjang Apr 20, 2017
18d2af4
add ko/examples/middleware.md
jicjjang Apr 20, 2017
405c22d
add ko/examples/nested-routes.md
jicjjang Apr 20, 2017
40cc602
add ko/examples/plugins.md
jicjjang Apr 20, 2017
c17fd8f
add ko/examples/routes-transitions.md
jicjjang Apr 20, 2017
6ab0a21
add ko/examples/seo-html-head.md
jicjjang Apr 20, 2017
aebc122
add ko/examples/testing.md
jicjjang Apr 20, 2017
8c31c2f
add ko/examples/vuex-store.md
jicjjang Apr 20, 2017
cbd31c7
Merge branch 'translation-ko' of https://github.com/jicjjang/ko.docs.…
jicjjang Apr 20, 2017
f87c61b
Merge pull request #16 from jicjjang/translation-ko
DiyLecko Apr 21, 2017
366e2bb
add guide/directory-structure.md
DiyLecko Apr 21, 2017
7964138
한글화 완료
wanybae Apr 21, 2017
48d09af
Delete lang.json
wanybae Apr 21, 2017
9c932cd
Merge pull request #33 from wanybae/master
DiyLecko Apr 21, 2017
1423313
menu.json 한글화 완료
wanybae Apr 21, 2017
72d02ce
external-resources.md 한글화 완료
wanybae Apr 21, 2017
01400f3
pre-processors.md 한글화 완료
wanybae Apr 21, 2017
17fb477
faq/jsx.md 한글화 완료
wanybae Apr 21, 2017
9f602df
faq/postcss-plugins.md 한글화 완료
wanybae Apr 21, 2017
11a7760
faq/webpack-plugins.md 한글화 완료
wanybae Apr 21, 2017
24f7e4e
faq/extend-webpack.md 한글화 완료
wanybae Apr 21, 2017
f43e0f1
faq/host-port.md 한글화 완료
wanybae Apr 21, 2017
bf48743
faq/google-analytics.md 한글화 완료
wanybae Apr 21, 2017
6e687e2
faq/window-document-undefined.md 한글화 완료
wanybae Apr 21, 2017
b4f8f84
faq/css-flash.md 한글화 완료
wanybae Apr 21, 2017
1e0b70c
faq/async-data-components.md 한글화 완료
wanybae Apr 21, 2017
2355d61
faq/duplicated-meta-tags.md 한글화 완성
wanybae Apr 21, 2017
1c74c0d
faq/heroku-deployment.md 한글화 완성
wanybae Apr 21, 2017
db10406
faq/now-deployment.md 한글화 완료
wanybae Apr 21, 2017
5893e77
faq/dokku-deployment.md 한글화 완료
wanybae Apr 21, 2017
3d755f5
faq/surge-deployment.md 한글화 완료
wanybae Apr 21, 2017
b4a43cc
faq/github-pages.md 한글화 완료
wanybae Apr 22, 2017
6ae49ac
Merge pull request #36 from wanybae/translation-ko
DiyLecko Apr 22, 2017
9f601f6
api/menu.json 한글화 완료
wanybae Apr 22, 2017
9853275
api/index.md 한글화 완료
wanybae Apr 22, 2017
a996532
api/pages-fetch.md 한글화 완료
wanybae Apr 22, 2017
5945f04
#46 api/pages-scrolltotop.md 한글화 완료
wanybae Apr 22, 2017
3b67a7c
modified awkward word
jicjjang Apr 22, 2017
87b5268
add ko/api/pages-validate
jicjjang Apr 22, 2017
c51bd94
add ko/api/nuxt-render
jicjjang Apr 22, 2017
02b60ad
add ko/api/nuxt-render-route
jicjjang Apr 22, 2017
37d473e
Merge branch 'nuxt-render-route' of https://github.com/jicjjang/ko.do…
jicjjang Apr 22, 2017
550ca66
add ko/api/nuxt-render-and-get-window
jicjjang Apr 22, 2017
379b8cc
Merge branch 'ko/api/nuxt-render-and-get-window' of https://github.co…
jicjjang Apr 22, 2017
b427f8f
add ko/api/components-nuxt
jicjjang Apr 22, 2017
942cdad
Merge branch 'ko/api/components-nuxt' of https://github.com/jicjjang/…
jicjjang Apr 22, 2017
0787052
add ko/api/configuration-cache
jicjjang Apr 22, 2017
86e7971
Merge branch 'ko/api/configuration-cache' of https://github.com/jicjj…
jicjjang Apr 22, 2017
028e043
add ko/api/configuration-css
jicjjang Apr 22, 2017
13741af
Merge branch 'ko/api/configuration-css' of https://github.com/jicjjan…
jicjjang Apr 22, 2017
dee3390
add ko/api/configuration-dev
jicjjang Apr 22, 2017
7d7f3a4
Merge branch 'ko/api/configuration-dev' of https://github.com/jicjjan…
jicjjang Apr 22, 2017
a151715
add ko/api/configuration-env
jicjjang Apr 22, 2017
51d7a26
Merge branch 'ko/api/configuration-env' of https://github.com/jicjjan…
jicjjang Apr 22, 2017
8aaea95
add ko/api/configuration-generate
jicjjang Apr 22, 2017
a6a7d3c
Merge branch 'ko/api/configuration-generate' of https://github.com/ji…
jicjjang Apr 22, 2017
25cfbd6
add ko/api/configuration-head
jicjjang Apr 22, 2017
8131043
Merge branch 'ko/api/configuration-head' of https://github.com/jicjja…
jicjjang Apr 22, 2017
7de529c
Merge pull request #50 from jicjjang/ko/api/pages-validate
DiyLecko Apr 22, 2017
5d3ed6b
Merge pull request #53 from jicjjang/ko/api/nuxt-render
DiyLecko Apr 22, 2017
75b60ae
Merge pull request #54 from jicjjang/nuxt-render-route
DiyLecko Apr 22, 2017
3459c0b
Merge pull request #57 from jicjjang/ko/api/nuxt-render-and-get-window
DiyLecko Apr 22, 2017
ca8436f
Merge pull request #59 from jicjjang/ko/api/components-nuxt
DiyLecko Apr 22, 2017
923471c
Merge pull request #60 from jicjjang/ko/api/configuration-cache
DiyLecko Apr 22, 2017
f5273c4
Merge pull request #62 from jicjjang/ko/api/configuration-css
DiyLecko Apr 22, 2017
f75aeba
Merge pull request #64 from jicjjang/ko/api/configuration-dev
DiyLecko Apr 22, 2017
e70d1d4
Merge pull request #66 from jicjjang/ko/api/configuration-env
DiyLecko Apr 22, 2017
3ff2d91
Merge pull request #68 from jicjjang/ko/api/configuration-generate
DiyLecko Apr 22, 2017
4f569cc
Merge pull request #70 from jicjjang/ko/api/configuration-head
DiyLecko Apr 22, 2017
ff7272a
kr moved to ko
DiyLecko Apr 22, 2017
de52b1e
#47 api/pages-transition.md 한글화 완료
wanybae Apr 23, 2017
1a8a4be
Merge pull request #73 from wanybae/translation-ko
DiyLecko Apr 23, 2017
7281b31
add ko/api/configuration-loading
jicjjang Apr 23, 2017
c9c3014
Merge branch 'ko/api/configuration-loading' of https://github.com/jic…
jicjjang Apr 23, 2017
7f02856
Merge branch 'translation-ko' of https://github.com/DiyLecko/ko.docs.…
jicjjang Apr 23, 2017
80f6963
add ko/api/configuration-performance
jicjjang Apr 23, 2017
15df43e
Merge branch 'ko/api/configuration-performance' of https://github.com…
jicjjang Apr 23, 2017
1f40c1b
add ko/api/configuration-plugins
jicjjang Apr 23, 2017
e97fbfa
Merge branch 'ko/api/configuration-plugins' of https://github.com/jic…
jicjjang Apr 23, 2017
c23e391
add ko/api/configuration-rootdir
jicjjang Apr 23, 2017
6f9db4d
Merge branch 'ko/api/configuration-rootdir' of https://github.com/jic…
jicjjang Apr 23, 2017
832efa0
add ko/api/configuration-srcdir
jicjjang Apr 23, 2017
8779a84
Merge branch 'ko/api/configuration-srcdir' of https://github.com/jicj…
jicjjang Apr 23, 2017
0359c6c
add ko/api/configuration-transition
jicjjang Apr 23, 2017
8490e3a
Merge branch 'ko/api/configuration-transition' of https://github.com/…
jicjjang Apr 23, 2017
295d5f9
add ko/api/configuration-watchers
jicjjang Apr 23, 2017
48f10e3
Merge branch 'ko/api/configuration-watchers' of https://github.com/ji…
jicjjang Apr 23, 2017
3f37a6f
add ko/api/configuration-router
jicjjang Apr 23, 2017
143e5f9
Merge branch 'ko/api/configuration-router' of https://github.com/jicj…
jicjjang Apr 23, 2017
28dfef7
add ko/api/configuration-build
jicjjang Apr 23, 2017
14daf99
Merge branch 'ko/api/configuration-build' of https://github.com/jicjj…
jicjjang Apr 23, 2017
61e0f2c
add ko/api/components-nuxt-child
jicjjang Apr 23, 2017
66ebfbe
Merge branch 'ko/api/components-nuxt-child' of https://github.com/jic…
jicjjang Apr 23, 2017
9376e9f
Merge pull request #74 from jicjjang/ko/api/configuration-loading
DiyLecko Apr 23, 2017
411d25e
Merge pull request #76 from jicjjang/ko/api/configuration-performance
DiyLecko Apr 23, 2017
ce3b5c9
Merge pull request #78 from jicjjang/ko/api/configuration-plugins
DiyLecko Apr 23, 2017
790c858
Merge pull request #80 from jicjjang/ko/api/configuration-rootdir
DiyLecko Apr 23, 2017
1400e96
Merge pull request #82 from jicjjang/ko/api/configuration-srcdir
DiyLecko Apr 23, 2017
3836e55
Merge pull request #85 from jicjjang/ko/api/configuration-transition
DiyLecko Apr 23, 2017
3261907
Merge pull request #87 from jicjjang/ko/api/configuration-watchers
DiyLecko Apr 23, 2017
0e17f0e
Merge pull request #88 from jicjjang/ko/api/configuration-router
DiyLecko Apr 23, 2017
164c4dd
Merge pull request #90 from jicjjang/ko/api/configuration-build
DiyLecko Apr 23, 2017
ee630c6
Merge pull request #92 from jicjjang/ko/api/components-nuxt-child
DiyLecko Apr 23, 2017
ee1b08a
Update README.md
DiyLecko Apr 23, 2017
f0c509c
Merge branch 'translation-ko' of https://github.com/DiyLecko/ko.docs.…
jicjjang Apr 23, 2017
ad1162c
add ko/api/pages-middleware
jicjjang Apr 23, 2017
2ecd28e
Merge branch 'ko/api/pages-middleware' of https://github.com/jicjjang…
jicjjang Apr 23, 2017
65111d4
translate ko/api/nuxt.md
rellario Apr 23, 2017
d85728b
translate ko/api/components-nuxt-link.md
rellario Apr 23, 2017
9cfdd6f
add ko/api/pages-head
jicjjang Apr 23, 2017
fbbfe88
Merge branch 'ko/api/pages-head' of https://github.com/jicjjang/ko.do…
jicjjang Apr 23, 2017
b2ed144
add ko/api/pages-layout.md
jicjjang Apr 23, 2017
923f9f4
Merge branch 'ko/api/pages-layout' of https://github.com/jicjjang/ko.…
jicjjang Apr 23, 2017
d5549cd
Merge pull request #96 from o1o9814/translation-ko-api
DiyLecko Apr 23, 2017
bb69b54
Merge pull request #95 from jicjjang/ko/api/pages-middleware
DiyLecko Apr 23, 2017
0f5d896
Merge pull request #98 from jicjjang/ko/api/pages-head
DiyLecko Apr 23, 2017
6309023
Merge pull request #99 from jicjjang/ko/api/pages-layout
DiyLecko Apr 23, 2017
6989aa2
ko/guide/views.md
DiyLecko Apr 23, 2017
f5b98fc
ko/guide/routing.md
DiyLecko Apr 23, 2017
3ae69ae
add ko/api/menu
jicjjang Apr 23, 2017
d52dbae
ko/guide/async-data.md
DiyLecko Apr 23, 2017
8735d30
Merge pull request #100 from jicjjang/ko/api/menu
DiyLecko Apr 23, 2017
d97b61a
ko/guide/commands.md by @Lutece
DiyLecko Apr 23, 2017
2981158
Merge branch 'translation-ko' of https://github.com/DiyLecko/ko.docs.…
DiyLecko Apr 23, 2017
3735116
ko/guide/assets.md
DiyLecko Apr 23, 2017
eb1941d
Update Translators
DiyLecko Apr 23, 2017
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
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,14 @@ Japanese translation is maintained by INOUE Takuya.
* Primary maintainer - [INOUE Takuya](http://blog.inouetakuya.info/)
* Primary translator - [INOUE Takuya](https://github.com/inouetakuya)

### Korean

Korean translation is maintained by Taewoong La.

* Translation Repo — [/DiyLecko/ko.docs.nuxtjs](https://github.com/DiyLecko/ko.docs.nuxtjs)
* Primary maintainer - [Taewoong La](http://blog.naver.com/diy_lecko)
* Primary translator - [june](http://jicjjang.github.io), [wanybae](https://github.com/wanybae), [rellario](https://github.com/rellario)

### Want to help with the translation?

If you feel okay with translating sorta alone, just fork the repo, create a "work-in-progress" pull request (mark it with [WIP], see [Russian translation](https://github.com/nuxt/docs/pull/3) if you need an example) — and just go on.
Expand Down
48 changes: 48 additions & 0 deletions ko/api/components-nuxt-child.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
---
title: "API: <nuxt-child> 컴포넌트"
description: 현재 페이지를 보여줍니다
---

# The &lt;nuxt-child&gt; 컴포넌트

> 이 컴포넌트는 하위 컴포넌트를 [nested 경로](/guide/routing#nested-routes)에 보여주기 위해 사용됩니다.

예제:

```bash
-| pages/
---| parent/
------| child.vue
---| parent.vue
```

이 파일 트리는 다음과같이 생성됩니다:
```js
[
{
path: '/parent',
component: '~pages/parent.vue',
name: 'parent',
children: [
{
path: 'child',
component: '~pages/parent/child.vue',
name: 'parent-child'
}
]
}
]
```

`child.vue` 컴포넌트를 보여주기 위해, `pages/parent.vue`에 `<nuxt-child/>`넣어야 합니다:

```html
<template>
<div>
<h1>난 부모 View 입니다~</h1>
<nuxt-child/>
</div>
</template>
```

예제를 보려면 [nested-routes 예제](/examples/nested-routes) 페이지를 참고해주세요.
28 changes: 28 additions & 0 deletions ko/api/components-nuxt-link.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
---
title: "API: <nuxt-link> 컴포넌트"
description: 다른 페이지에 연결합니다.
---

# &lt;nuxt-link&gt; 컴포넌트
<!--# The &lt;nuxt-link&gt; Component-->

> 해당 컴포넌트는 현재 페이지와 다른 페이지를 연결하는 데 사용됩니다.
<!--> This component is used to link the page components between them.-->

현재 `<nuxt-link>` 는 [`<router-link>`](https://router.vuejs.org/en/api/router-link.html) 와 동일합니다. 사용 방법은 [vue-router documentation](https://router.vuejs.org/en/api/router-link.html) 를 확인해보세요.
<!--At the moment, `<nuxt-link>` is the same as [`<router-link>`](https://router.vuejs.org/en/api/router-link.html), so we recommend you to see how to use it on the [vue-router documentation](https://router.vuejs.org/en/api/router-link.html).-->

예제 (`pages/index.vue`):
<!--Example (`pages/index.vue`):-->

```html
<template>
<div>
<h1>Home page</h1>
<nuxt-link to="/about">About</nuxt-link>
</div>
</template>
```

앞으로 어플리케이션 응답 속도 향상을 위해 `pre-fetching` 기능을 백그라운드에 추가할 것입니다.
<!--In the future, we will add features to the nuxt-link component, like pre-fetching on the background for improving the responsiveness of nuxt.js applications.-->
22 changes: 22 additions & 0 deletions ko/api/components-nuxt.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
---
title: "API: <nuxt> 컴포넌트"
description: 레이아웃 내부의 페이지 컴포넌트를 보여줍니다.
---

# &lt;nuxt&gt; 컴포넌트

> 이 컴포넌트는 페이지 컴포넌트가 있는 [layouts](/guide/views#layouts)에서만 사용됩니다.

예제 (`layouts/default.vue`):

```html
<template>
<div>
<div>My nav bar</div>
<nuxt/>
<div>My footer</div>
</div>
</template>
```

[layouts example](/examples/layouts)에서 예제를 보실 수 있습니다.
263 changes: 263 additions & 0 deletions ko/api/configuration-build.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,263 @@
---
title: "API: build 프로퍼티"
description: Nuxt.js를 사용하면 당신의 웹 어플리케이션을 원하는대로 빌드할 수 있도록 webpack 설정을 사용자 정의할 수 있습니다.
---

# build 프로퍼티

> Nuxt.js를 사용하면 당신의 웹 어플리케이션을 원하는대로 빌드할 수 있도록 webpack 설정을 사용자 정의할 수 있습니다.

## analyze

> Nuxt.js는 [webpack-bundle-analyzer](https://github.com/th0r/webpack-bundle-analyzer)를 사용하여 번들을 시각화, 최적화 할 수 있도록 알려줍니다.

- 타입: `Boolean` or `Object`
- 기본값: `false`

만약 object라면 [여기](https://github.com/th0r/webpack-bundle-analyzer#as-plugin) 작성된 문서처럼 프로퍼티를 사용할 수 있습니다.

예제 (`nuxt.config.js`):
```js
module.exports = {
build: {
analyze: true
// or
analyze: {
analyzerMode: 'static'
}
}
}
```

<p class="Alert Alert--teal">**정보:** `nuxt build --analyze` 또는 `nuxt build -a` 명령어를 사용하여 당신의 어플리케이션을 빌드하거나 [http://localhost:8888](http://localhost:8888)로 시각화 하여 실행할 수 있습니다.</p>

## babel

- 타입: `Object`

> JS와 Vue 파일에 대한 babel 설정을 사용자 정의 합니다.

기본값:
```js
{
presets: ['vue-app']
}
```

예제 (`nuxt.config.js`):
```js
module.exports = {
build: {
babel: {
presets: ['es2015', 'stage-0']
}
}
}
```

## extend

- 타입: `Function`

> 클라이언트 및 서버 번들에 대한 webpack 구성을 수동으로 확장합니다.

확장은 두번 호출되는데, 한 번은 서버 번들, 또 한번은 클라이엍느 번들에서 입니다. 메서드의 인자는 아래와 같습니다:
1. Webpack 설정 object
2. 다음 키가 있는 객체 (모두 boolean): `dev`, `isClient`, `isServer`

예제 (`nuxt.config.js`):
```js
module.exports = {
build: {
extend (config, { isClient }) {
// 오직 client-bundle을 위한 webpack 설정만을 확장합니다.
if (isClient) {
config.devtool = 'eval-source-map'
}
}
}
}
```

기본 webpack 구성에 대해 더 알고싶다면 [webpack 폴더](https://github.com/nuxt/nuxt.js/tree/master/lib/webpack) 를 확인해주세요.

## filenames

- 타입: `Object`

> 사용자가 정의한 번들 파일이름

기본값:
```js
{
manifest: 'manifest.[hash].js',
vendor: 'vendor.bundle.[hash].js',
app: 'nuxt.bundle.[chunkhash].js'
}
```

예제 (`nuxt.config.js`):
```js
module.exports = {
build: {
filenames: {
vendor: 'vendor.[hash].js',
app: 'app.[chunkhash].js'
}
}
}
```


To understand a bit more about the use of manifest and vendor, take a look at this
manifest 와 vendor의 사용법에 대해 자세히 알아 보시려면 [Webpack 문서](https://webpack.js.org/guides/code-splitting-libraries/)를 확인해주세요.

## loaders

- 타입: `Array`
- Items: `Object`

> 사용자가 정의한 webpack loaders

기본값:
```js
[
{
test: /\.(png|jpe?g|gif|svg)$/,
loader: 'url-loader',
query: {
limit: 1000, // 1초
name: 'img/[name].[hash:7].[ext]'
}
},
{
test: /\.(woff2?|eot|ttf|otf)(\?.*)?$/,
loader: 'url-loader',
query: {
limit: 1000, // 1초
name: 'fonts/[name].[hash:7].[ext]'
}
}
]
```

예제 (`nuxt.config.js`):
```js
module.exports = {
build: {
loaders: [
{
test: /\.(png|jpe?g|gif|svg)$/,
loader: 'url-loader',
query: {
limit: 10000, // 10KO
name: 'img/[name].[hash].[ext]'
}
}
]
}
}
```

<p class="Alert Alert--orange">`nuxt.config.js`에 loaders가 정의되어 있다면, 기본 loaders를 덮어씁니다.</p>

## plugins

- 타입: `Array`
- 기본값: `[]`

> Webpack plugins 추가

예제 (`nuxt.config.js`):
```js
const webpack = require('webpack')

module.exports = {
build: {
plugins: [
new webpack.DefinePlugin({
'process.VERSION': require('./package.json').version
})
]
}
}
```

## postcss

- 타입: `Array`

> 사용자 정의 [postcss](https://github.com/postcss/postcss) 옵션

기본값:
```js
[
require('autoprefixer')({
browsers: ['last 3 versions']
})
]
```

예제 (`nuxt.config.js`):
```js
module.exports = {
build: {
postcss: [
require('postcss-nested')(),
require('postcss-responsive-type')(),
require('postcss-hexrgba')(),
require('autoprefixer')({
browsers: ['last 3 versions']
})
]
}
}
```

## publicPath

- 타입: `String`
- 기본값: `'/_nuxt/'`

> Nuxt.js는 최대한의 성능 향상을 위해 dist 파일들을 CDN에 업로드 할 수 있게 도와주는데, `publicPath`에 당신의 CDN을 간단하게 설정할 수 있습니다.

예제 (`nuxt.config.js`):

```js
module.exports = {
build: {
publicPath: 'https://cdn.nuxtjs.org'
}
}
```

그러면, `nuxt build` 명령어를 실행했을 때, `.nuxt/dist/` 폴더를 당신의 CDN에 업로드 합니다.

## vendor

> Nuxt.js는 생성된 `vendor.bundle.js` 파일 내에 모듈을 추가하여 어플리케이션 번들의 용량을 줄여줍니다. 이것은 외부 모듈을 사용할 때 정말 효율적입니다 (예를 들어 `axios`).

- 타입: `Array`
- Items: `String`

vendor 번들 안에 모듈/파일을 추가하려면 `nuxt.config.js`안에 `build.vendor`키를 추가해주세요:

```js
module.exports = {
build: {
vendor: ['axios']
}
}
```

사용자가 만든 라이브러리의 파일 경로를 정의할 수도 있습니다:
```js
module.exports = {
build: {
vendor: [
'axios',
'~plugins/my-lib.js'
]
}
}
```
Loading