https://github.com/ahaofficial/nuxt-template
๐ Nuxt Template (Typescript + Composition API)
https://github.com/ahaofficial/nuxt-template
composition-api nuxt nuxt-module nuxt-template nuxtjs nuxtjs-template template typescript vue vuejs
Last synced: about 1 year ago
JSON representation
๐ Nuxt Template (Typescript + Composition API)
- Host: GitHub
- URL: https://github.com/ahaofficial/nuxt-template
- Owner: AhaOfficial
- License: mit
- Created: 2020-08-08T08:38:57.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2021-03-27T15:08:47.000Z (about 5 years ago)
- Last Synced: 2025-03-27T15:49:08.646Z (about 1 year ago)
- Topics: composition-api, nuxt, nuxt-module, nuxt-template, nuxtjs, nuxtjs-template, template, typescript, vue, vuejs
- Language: TypeScript
- Homepage: https://githubbox.com/AhaOfficial/nuxt-template
- Size: 2.98 MB
- Stars: 54
- Watchers: 3
- Forks: 6
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README

๐ฎ ๋์คํธ ํ ๋ฒ์ : 2020-Apeach-1.0.0
# ๐ฆ ๋์คํธ ํ (nuxt-template)
> ๋์คํธ(Nuxt) ๋ฅผ ์ฌ์ฉํ๊ธฐ ์ข๊ฒํ๋ฉด์ ๊ฐ๋ฅํ **๊ฐ์ฅ ์ต์ ์ ๋ชจ๋ ๋ฒ์ ์ผ๋ก ๊ด๋ฆฌํ๊ณ ์๋ ์์ ํ**์
๋๋ค.
> ์ด ๋ฌธ์์ ํ์ ์ค์ง **ํ๊ตญ์ด๋ก ํ๊ตญ ๋ด ๋์คํธ ์ด์ฉ์๋ฅผ ์ํด** ๊ตฌ์ฑ & ๊ด๋ฆฌ๋๊ณ ์์ต๋๋ค.๐ (This document and template are organized and managed only for Nuxt users in Korea.)
์ด ํ๋ก์ ํธ๋ ๋ค๋ฅธ ํ๋ก์ ํธ๋ฅผ ๊ฐ๋ฐํ ๋ ์ฌ์ฉํ๊ธฐ ์ข๋๋ก ๊ฐ๋ฅํ ๋น ํ์ ๋ง๋ค๋ **์ค์ ๋ค๊ณผ ๊ตฌ์กฐ๋ค์ ์ก์๋๋ ํ๋ก์ ํธ๋ก ์ ํ๋ ์ผ๋ถ ์์๋ง์ ๊ฐ์ง๊ณ ์์ต๋๋ค.** ๐ค
## ๐ฅณ ๋ฌธ์ ๋ชจ์
> ๋ฌธ์๋ฅผ ๊ธฐ์ฌํด์ฃผ์๋ ค๋ฉด `docs/` ์ md ํ์ผ์ ์์ฑํด์ฃผ์๋ฉด ๋ฉ๋๋ค! [[์์ฑ๋ฐฉ๋ฒ]](https://github.com/AhaOfficial/nuxt-template/tree/master/docs#-%EB%AC%B8%EC%84%9C-%EC%9E%91%EC%84%B1-%EB%B0%A9%EB%B2%95)
- [๐ค ๊ธฐ์ด ์ค๋ช
](https://github.com/AhaOfficial/nuxt-template/blob/master/docs/๊ธฐ์ด_์ค๋ช
.md)
- [๐ ์ฌ์ฉํ๋ ์ฃผ์ ๊ธฐ์ ](https://github.com/AhaOfficial/nuxt-template/blob/master/docs/์ฌ์ฉํ๋_์ฃผ์_๊ธฐ์ .md)
- [๐ ์ถ์ฒ ๊ฐ์ข ๋ชฉ๋ก](https://github.com/AhaOfficial/nuxt-template/blob/master/docs/%EC%B6%94%EC%B2%9C_%EA%B0%95%EC%A2%8C_%EB%AA%A9%EB%A1%9D.md)
- [๐ ๊ฐ๋ฐ ํ๊ฒฝ ๊ตฌ์ฑ ๋ฐฉ๋ฒ](https://github.com/AhaOfficial/nuxt-template/blob/master/docs/%EA%B0%9C%EB%B0%9C_%ED%99%98%EA%B2%BD_%EA%B5%AC%EC%84%B1_%EB%B0%A9%EB%B2%95.md)
- [โ๏ธ ์คํ/๋น๋/๋ฐฐํฌ ๋ฐฉ๋ฒ](https://github.com/AhaOfficial/nuxt-template/blob/master/docs/%EC%8B%A4%ED%96%89_%EB%B9%8C%EB%93%9C_%EB%B0%B0%ED%8F%AC_%EB%B0%A9%EB%B2%95.md)
- [๐ฌ ๊ธฐํ ๋ช
๋ น์ด ๋ฐ ํ
์คํธ ๋ฐฉ๋ฒ](https://github.com/AhaOfficial/nuxt-template/blob/master/docs/%EA%B8%B0%ED%83%80_%EB%AA%85%EB%A0%B9%EC%96%B4_%EB%B0%8F_%ED%85%8C%EC%8A%A4%ED%8A%B8_%EB%B0%A9%EB%B2%95.md)
## ๐ฎ ๋ธ๋ผ์ฐ์ ์์์ ์คํ ๋ฐฉ๋ฒ
> ํ๋ก์ ํธ๋ฅผ ์น์์ ๋ฐ๋ก ์คํ์ํค๊ฑฐ๋, ์๋๋ฉด ๊ฐ๋ณ๊ฒ ์ํ ๊ฐ๋ฐ์ ์งํ ํ ์ ์์ต๋๋ค.
### ๐ฎ ๊ฐ๋ฒผ์ด ์ํ๊ฐ๋ฐ์ฉ
> ์ฝ๋ํ์ด๋ผ๋ ์น ์๋ํฐ๋ฅผ ํตํด์ ์ด ํ๋ก์ ํธ ํ์ ์ฌ์ฉํ๋ฉด์ ๊ฐ๋ณ๊ฒ ํ ํ์ด์ง๋ฅผ ์์ฑํ ์ ์์ต๋๋ค.
> ๊ฐ๋จํ ์์๋ฅผ ๋ง๋ค์ด์ ๊ณต์ ํ๊ฑฐ๋, ์ด๋ ํ ์ฝ๋๊ฐ ์๋ํ ์ง ๊ฐ๋จํ ์ํ ๊ฐ๋ฐํด๋ณด๋๋ฐ์ ์ฉ์ดํฉ๋๋ค.
- [๐ฆ Codepen.io ์นด์ดํฐ ์์](https://codepen.io/pen/?template=xxVOwgg)
- [๐ฆ Codepen.io ๋น ํ
ํ๋ฆฟ](https://codepen.io/pen/?template=xxVOYbB)
### ๐ฎ ํ๋ก์ ํธ๋ฅผ ์น์์ ์คํ
> ์ฝ๋ ์๋๋ฐ์ค๋ผ๋ **์น IDE ๋ฅผ ํตํด์ ์ด ํ๋ก์ ํธ๋ฅผ ์ค์น ์์ด ์น์์ ๋ฐ๋ก ์คํํ ์ ์์ต๋๋ค.**
> ์น ์ ๋น๋์ 2๋ถ ๊ฐ๋ ์๊ฐ์ด ์์๋๋ฉฐ, ๋น๋๊ฐ ์๋ฃ๋๋ฉด ๋ด๋ถ ๋ธ๋ผ์ฐ์ ๊ฐ ๋ฐ๋ก ์คํ๋ฉ๋๋ค.
[๐ CodeSandbox ์น IDE ์คํ](https://githubbox.com/AhaOfficial/nuxt-template) [[์คํ๋ชจ์ต ์ด๋ฏธ์ง]](https://i.imgur.com/EsxrjSA.png)
## โ๏ธ ํ๋ก์ ํธ ์์ฑ๋ฐฉ๋ฒ
> ์ด ํ
ํ๋ฆฟ์ ์ด์ฉํ **ํ๋ก์ ํธ๋ฅผ ๋ก์ปฌ์ ์์ฑํ๋ ค๋ฉด ๋ค์ ๋ช
๋ น์ด๋ฅผ ์
๋ ฅํ์ธ์.**
```bash
npx degit AhaOfficial/nuxt-template <ํ๋ก์ ํธ๋ช
>
cd <ํ๋ก์ ํธ๋ช
>
```
> ๋๋ **์ํ๋ ํด๋ ์์ ๋ฐ๋ก ํ๋ก์ ํธ๋ฅผ ์์ฑํ๋ ค๋ฉด ๋ค์ ๋ช
๋ น์ด๋ฅผ ์
๋ ฅํ์ธ์.**
```bash
npx degit AhaOfficial/nuxt-template
```
## ๐ ์ต์์ ํด๋/ํ์ผ ์ค๋ช
> ํด๋ ๋ฐ ํ์ผ์ ๋ํ ์ค๋ช
์ด ์ฌ๊ธฐ ๋ด๊น๋๋ค.
- ๐ .nuxt
> **ํด๋ผ์ด์ธํธ ํ๋ก๊ทธ๋จ์ด ๋น๋๋ ๊ฒฐ๊ณผ๋ฌผ๊ณผ ๊ทธ์ ํ์ํ ๋ฐ๋ก ์คํ๊ฐ๋ฅํ ์๋ฒ ํ๋ก๊ทธ๋จ**์ด ๋ด๊น๋๋ค.
>
> (์ด ํด๋๋ ๋น๋๊ฐ ์๋ฃ๋ ์ดํ ์์ ์ ์์ฑ๋ฉ๋๋ค. ์ญ์ ํด๋ ๋งค ๋น๋๋ง๋ค ์ฌ์์ฑ ๋ฉ๋๋ค.)
- ๐ .vscode
> **VSCode ํธ์ง๊ธฐ ์ฌ์ฉ์ ๊ณตํต์ ์ผ๋ก ์ฌ์ฉ๋ ํธ์ง ๊ท์น๋ค**์ด ์ฌ๊ธฐ์ ์ ์๋ฉ๋๋ค.
- ๐ src
> **ํด๋ผ์ด์ธํธ ํ๋ก๊ทธ๋จ์ ์์
**(์์ค์ฝ๋๋ค๊ณผ ๋ฆฌ์์ค)๋ค์ด ๋ชจ๋ ์ฌ๊ธฐ์ ๋ด๊น๋๋ค.
- ๐ docs
> **์ด ํ๋ก์ ํธ์ ๊ด๋ จ๋ ๋ฌธ์๋ค**์ด ์ฌ๊ธฐ์ ๋ด๊น๋๋ค.
- ๐ node_modules
> **ํ๋ก์ ํธ์์ ์ฌ์ฉํ๋๋
ธ๋ ๋ชจ๋๋ค**์ด ์ฌ๊ธฐ์ ๋ค์ด๋ก๋ ๋ฉ๋๋ค.
>
> (์ด ํด๋๋ npm install ๋ช
๋ น์ด๊ฐ ์คํ๋ ์์ ์ ์์ฑ๋ฉ๋๋ค. ์ญ์ ํด๋ ๋งค ์ค์น๋ง๋ค ์ฌ์์ฑ๋ฉ๋๋ค.)
- ๐ .eslintignore
> **ESLint ์์ ๋ฆฐํธ ์ ์ฉ์ ๋ฐฐ์ ํ ๋์ ๊ท์น**์ด ์ฌ๊ธฐ์ ๋ด๊น๋๋ค.
- ๐ .eslintrc.js
> **ESLint ์์ ์ฌ์ฉํ ์๋์ ๋ ฌ ๊ท์น**์ด ์ฌ๊ธฐ์ ๋ด๊น๋๋ค.
- ๐ .gitignore
> **Git ์๋์ผ๋ก ์
๋ก๋๋์ง ์์ ํ์ผ๊ณผ ํด๋ ๋ชฉ๋ก ๊ท์น**์ ์ ์ํฉ๋๋ค.
- ๐ .prettierrc.json
> **Prettier ์์ ์ฌ์ฉํ ์๋์ ๋ ฌ ๊ท์น**์ด ์ฌ๊ธฐ์ ๋ด๊น๋๋ค.
>
> (ํ์ฌ ์ด ํ๋ก์ ํธ๋ ์๋์ ๋ ฌ์ ESLint ์ Prettier ๋ฅผ ๋ชจ๋ ์ฌ์ฉํ๊ณ ์์ต๋๋ค.)
- ๐ LICENSE
> ์ด ํ์ผ์ ์ด **ํ๋ก์ ํธ์ ๊ธฐ๋ณธ ์ ์๊ถ ์ ๋ณด**๊ฐ ๋ด๊น๋๋ค.
>
> (์ด ํ
ํ๋ฆฟ์ ์ด์ฉํด ์ ํ๋ก์ ํธ๋ฅผ ๋ง๋ค ๋์๋ LICENSE.md ๋ฅผ ์๋ง๊ฒ ์์ ํ์
์ผ ํฉ๋๋ค.)
- ๐ nuxt.config.ts
> **๋์คํธ ํ๋ก์ ํธ์ ์ค์ ์ ๋ณด**๊ฐ ์ฌ๊ธฐ์ ๋ด๊น๋๋ค.
- ๐ package.json
> ์ด ํ๋ก์ ํธ์์ **์ฌ์ฉํ๋ ๋ชจ๋๋ค์ด ์ฌ๊ธฐ์ ๋ช
์**๋ฉ๋๋ค.
- ๐ package-lock.json
> **์ด ํ๋ก์ ํธ์์ ์ฌ์ฉํ๋ ๋ชจ๋๋ค์ ๋ค์ด๋ก๋ ๊ฒฝ๋ก์ ๋ง์ง๋ง์ผ๋ก ์ฌ์ฉํ ๋ชจ๋ ๋ฒ์ **์ด ๊ธฐ๋ก๋ฉ๋๋ค.
>
> (ํ๋ก์ ํธ์์ ์ฌ์ฉํ๋ ๋ชจ๋๊ด๊ณ๋ฅผ ํ์ธํ ๋์ ์ค์ํ ํ์ผ์ด๋, ์ญ์ ์ ์ฌ์์ฑ์ด ๊ฐ๋ฅํฉ๋๋ค.)
- ๐ postbuild.ts
> **nuxt ์ transpile ๋ชจ๋ ๋์์ ์๋์ผ๋ก ๋ช
์ํด์ฃผ๋ ํจ์**๊ฐ ๋ด๊ฒจ์์ต๋๋ค.
- ๐ qawolf.config.ts
> **QAWolf ์ ์ค์ **์ด ์ฌ๊ธฐ์ ๋ด๊น๋๋ค.
- ๐ README.md
> **์ด ํ๋ก์ ํธ๋ฅผ ์ค๋ช
ํ๋ Markdown ํํ์ ๋ฌธ์**์
๋๋ค.
>
> (README.md ๋ฅผ ์์ ํ ๋์ Typora ๋ผ๋ ์๋ํฐ๋ฅผ ์ถ์ฒํฉ๋๋ค.)
- ๐ sandbox.config.json
> **ํด๋ผ์ฐ๋ IDE ์ค์ ํ์ผ** ์
๋๋ค. ์น์์ Codesandbox ๋ Github IDE ๋ฅผ ํตํด์ ๋ฐ๋ก ํธ์ง ๋ฐ ์คํ์ด ๋ ๋์, ์ด ํ๋ก์ ํธ๋ node ๋ฅผ ๊ธฐ๋ฐ์ผ๋ก ํ๋ ํ๋ก์ ํธ๋ผ๋ ๊ฒ์ ์๋ฆฝ๋๋ค. [[์ค๋ช
๋ฌธ์]](https://codesandbox.io/docs/importing#import-from-github)
- ๐ stylelint.config.js
- ๐ tsconfig.json
> ์ด **ํ๋ก์ ํธ์์ ์ฌ์ฉํ๋ ํ์
์คํฌ๋ฆฝํธ ์ค์ **์ด ์ฌ๊ธฐ์ ๋ช
์๋ฉ๋๋ค.
## ๐ท ์ ์๊ถ
MIT Licensed.