Name Last Update
..
assets Loading commit data...
components Loading commit data...
layouts Loading commit data...
middleware Loading commit data...
pages Loading commit data...
plugins Loading commit data...
static Loading commit data...
store Loading commit data...
.editorconfig Loading commit data...
.gitignore Loading commit data...
README.md Loading commit data...
nuxt.config.js Loading commit data...
package-lock.json Loading commit data...
package.json Loading commit data...

frontend

Khuloud Nuxt.js project

Build Setup

node version: v12.16.0 npm version: 6.13.4

frontend 실행방법


# install dependencies
# frontend 폴더 내부에서 해당 명령어를 실행하면 package.json에 올려놓았던 모듈 설치
$ cd frontend/
$ npm install

# run nuxt project 
# load http://localhost:3001
$ npm run start 

# django project
$ cd user_server
$ python manage.py runserver 

django server와 통신하는 부분

# frontend/store/user.js 
this.$axios.get('본인이 만든 장고 url', withCredentials: true);
this.$axios.post('본인이 만든 장고 url',{json 데이터}, withCredentials: true);


## 현재 만든 frontend는 user_server django 파일로 요청이 가게 했습니다.