Skip to content

whoyoung90/Nuxt-shopping

Repository files navigation

Nuxt-shopping

🚩 Build Setup

# install dependencies
$ yarn install

# serve with hot reload at localhost:3000
$ yarn dev

# build for production and launch server
$ yarn build
$ yarn start

# generate static project
$ yarn generate

🚩 Nuxt 개발 환경

# Rendering mode
Universal (SSR / SSG)

# Deployment target
> Server (Node.js hosting)
  Static (Static/Jamstack hosting)

# Nuxt version
nuxt(^2.15.8)

🚩 백엔드 API 서버 구성

fake API를 활용한 테스트 서버 활용

https://github.com/typicode/json-server

https://jsonplaceholder.typicode.com/

# 로컬에서 사용헀던 백엔드 서버를 원격(public domain)에서 사용할 수 있다
https://my-json-server.typicode.com/

🚩 TodoList

👉 서버사이드 렌더링을 통한 "파일 기반의 자동 라우팅 생성"

👉 nuxtServerInit

👉 넉스트의 REST API 호출 방식

  • asyncData
  • fetch

About

Nuxt.js 스터디

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published