Giter Club home page Giter Club logo

resume-nextjs's Issues

이미지, CSS 404 에러 발생

[에러]
npm run export 실행 시, docs 폴더 내에 index.html이 생성이되어지는데, 이미지, CSS가 404 에러가 발생함

[해결방법]
https://{--}.github.io/---/ 으로 사용하시는 분들은 아래와 같은 코드를 추가해주세요

next.config.js 파일에 assetPrefix: '.'을 추가해주세요.
정상적으로 화면에 출력됩니다.

[예시]
/_next/static/images/_12345.jpg (x)
./_next/static/images/_12345.jpg (o)

Export 중 발생한 오류 조치한 것 공유드립니다.

안녕하세요~!
npm run export 명령 실행중 오류 조치한 내용이 있어 내용 공유 드립니다.

eslint 'component/**/*' 'pages/**/*' 'payload/**/*' '*.ts' --fix

Oops! Something went wrong! :(

ESLint: 6.8.0.

No files matching the pattern "'component/**/*'" were found.
Please check for typing mistakes in the pattern.

package.json 파일의 lint 부분 코드를 수정하여 조치했습니다.

"lint": "eslint \"component/**/*\" \"pages/**/*\" \"payload/**/*\" \"*.ts\" --fix",

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.