Giter VIP home page Giter VIP logo

blog's Introduction

github Blog

Command

Run

npm start

로컬에서 실행합니다. http://localhost:3000 에서 확인할 수 있습니다.

Deployment

npm run deploy

github.io 에 배포합니다. package.jsonhomepage와 github repo name을 동일하게 설정해야 합니다.

How to Post

  1. src/assets/posts 에 폴더 또는 파일을 생성합니다.
  • 파일은 반드시 markdown 형식이어야 합니다.
  • 파일, 폴더 명의 띄어쓰기 없이 작성해야 합니다. 띄어쓰기 대신 - 를 사용할 수 있습니다.
  • 폴더를 생성한 경우, 폴더 안에 README.md 를 생성합니다. 여기엔 해당 폴더의 간단한 설명을 작성할 수 있습니다.
  1. src/assets/posts/info.js 에 내용을 추가합니다.
  • 폴더를 추가한 경우, postInfokey를 생성한 폴더명과 동일하게 추가합니다.
  • 폴더(key)의 value 는 post List 로 파일 설명을 추가합니다.
  • 예시를 보고 동일한 규칙으로 생성합니다.
  1. npm run deploy 로 배포합니다.

eslint

  • npm i eslint 로 eslint 설치
  • npx eslint --init 으로 eslint.json 생성
  • pakage.json의 devDependence 참고하여 플러그인 추가 설치
  • vscode setting > code action on save > Edit in setting.json 에 아래 설정 추가
"editor.codeActionsOnSave": {
    "source.fixAll": true,
},
"editor.formatOnSave": false,

참고한 글

todo

  • toc 지원

blog's People

Contributors

parkjisu6239 avatar

Watchers

 avatar

blog's Issues

TODO

TODO

기능

  • 포스트 검색
  • 다크모드
  • # url 바로가기
  • toc 상단, 사이드
  • 포스트 이전/다음
  • 이미지 지원, 경로 설정

코드 퀄리티

  • 빌드 속도 올리기 & 라이브러리 트리셰이킹
  • vite 적용
  • headlessUI

퍼포먼스, 접근성

  • 파비콘
  • seo, og tag
  • ga 추가

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.