Vue CLI 서버사이드에서 ES6 문법 사용하기 require 안쓰고 import 쓰게
nuxt
각자 하니 안되지
일단 해보자


선택한 옵션들
지운 폴더
- assets
- components - logo

아주 훌륭하다

- 프로젝트 생성 이후 nuxt cli 참고들 - vue cli 는 글로벌이고
nuxt/nuxt-cli
WIP: CLI for Nuxt.js projects. Contribute to nuxt/nuxt-cli development by creating an account on GitHub.
https://github.com/nuxt/nuxt-cli
- mdi 버그있는데 버리고
[Bug Report] Problem with the icons on the Previous and Next buttons for pagination. · Issue #10797 · vuetifyjs/vuetify
Dismiss GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together. Sign up seongjin605 changed the title[Bug Report] The icons on the Previous and Next buttons for Pagination are strange. [Bug Report] Problem with the icons on the Previous and Next buttons for pagination.
https://github.com/vuetifyjs/vuetify/issues/10797
Material desing icon are not correctly shown · Issue #298 · nuxt-community/vuetify-module
Module version 1.8.3 Describe the bug Instead of the right icon, i've got a square or a chinese character. To Reproduce https://codesandbox.io/s/nuxtjs-vuetify-v0k7i Steps to reproduce the behavior: launch the app Additional context I as...
https://github.com/nuxt-community/vuetify-module/issues/298
api 통신

definecall error 인데 여러 경우가 있지만 이상한 폴더 import 할 때 문제
config json 도 imoprt 해서 생김 filter 해주고

처음 넣어줘야한다
잘 된다
cors 생김
node.js express에서 CORS 허용하기
CORS란 Cross Origin Resource Sharing의 약자로, 현재 도메인과 다른 도메인으로 리소스가 요청될 경우를 말한다. 예를 들어, 도메인 http://A.com 에서 읽어온 HTML페이지에서 다른 도메인 http://B.com/image.jpg를 요청하는 경우를 말한다. 이런 경우에 해당 리소스는 cross-origin HTTP 요청에 의해 요청된다. 보안 상의 이유로, 브라우저는 CORS를 제한하고 있다.
http://guswnsxodlf.github.io/enable-CORS-on-express

(NodeJS) Access-Control-Allow-Origin(CORS) - CORS, CORB 요청 허용하기
안녕하세요. 이번 시간에는 웹 개발자라면 누구나 한 번은 겪는다는 CORS 문제에 대해서 포스팅해보겠습니다. 포스팅 자체는 노드 서버를 기반으로 하지만 노드 서버가 아니더라도 해결할 수 있는 방법을 포스팅 최하단에 적어두었습니다. 클라이언트에서 AJAX 요청을 보내는데 갑자기 다음과 같은 에러가 뜰 때가 있습니다. 같은 요청이더라도 서버에서 서버로 보냈을 때는 되는데 브라우저에서 서버로 보내는 것은 안 되니 당황스러울 것입니다.
https://www.zerocho.com/category/NodeJS/post/5a6c347382ee09001b91fb6a
server 라서 잠시 이름 바꿔주고
nuxtjs.org
Nuxt internally creates a connect instance that we can add our own custom middleware to. This allows us to register additional routes (typically /api routes) without need for an external server. Because connect itself is a middleware, registered middleware will work with both nuxt start and also when used as a middleware with programmatic usages like express-template.
https://nuxtjs.org/api/configuration-servermiddleware/
- static serving nuxt 에서 하는 법
__dirname 으로 접근하기에 src부터 접근해야했다
Seonglae Cho