uyu423 / resume-nextjs Goto Github PK
View Code? Open in Web Editor NEWNext.js 로 누구나 쉽게 만드는 Static HTML 이력서
Home Page: https://uyu423.github.io/resume-nextjs
License: MIT License
Next.js 로 누구나 쉽게 만드는 Static HTML 이력서
Home Page: https://uyu423.github.io/resume-nextjs
License: MIT License
[에러]
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)
안녕하세요~!
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",
The title is the content.
package.json 파일에서
"homepage": "https://uyu423.github.io/resume-nextjs"
항목의 subpath "/resume-nextjs"가 asset의 path prefix로 들어가기 때문에
"homepage": "https://uyu423.github.io"
로 바꾸어서 테스트 하시거나 자기 홈페이지로 바꾸시고 진행하시면 될 것 같습니다.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.