Frontend

NUXT.js 로 Vue SSR 세팅하기(1)

불타는 코딩🔥 2019. 6. 23. 16:36

# 설치환경

node
v10.13.0

npm
6.4.1

editor
VScode

 

1. 설치

 

- work path

C:\Users\choi\Desktop\nuxt

 

- npx create-nuxt-app <my-nuxt-app>

npx create-nuxt-app nuxt-app

 

- 설치한내용

? Project name nuxt-app
? Project description My fine Nuxt.js project
? Use a custom server framework express
? Choose features to install Axios
? Use a custom UI framework vuetify
? Use a custom test framework none
? Choose rendering mode Universal
? Author name DaeBeom Choi
? Choose a package manager npm

- 설치요약

express 설치는 서버환경만들어서 Authorization 인증으로 CRUD 테스트 

axios 설치는 nuxt client 랑 express server 간에 편리한 통신

vuetify 설치는 디자인하기 싫어서... (잘 쓰겠습니다.)