GithubHelp home page GithubHelp logo

next-js-tutorial's Introduction

Next.js tutorial - dashboard

placeholder data

  • DB 세팅 이전에 더미 데이터로 활용 가능

2. Styling

  • css 파일을 컴포넌트에 import하는 것만으로 css에 작성된 스타일 적용 가능
  • 관습적으로 최상위 컴포넌트에서 import하는 것이 권장됨
  • tailwind 클래스명을 JSX 스크립트 안에 작성하기
  • module.css를 import하여 변수 형태로 클래스 지정하기 - 이 방법을 사용하면 고유한 클래스명이 생성되므로 클래스명 충돌 가능성을 피할 수 있음
  • clsx를 이용한 클래스명 토글

Fonts

  • 폰트는 빌드 타임에 빌드되어 정적 에셋과 함께 업로드: 외부 요청 필요없음

Images

  • breakpoint를 파악하여 hidden과 block을 동시에 변환하는 식으로 반응형 디자인에 활용 가능

next-js-tutorial's People

Contributors

mule-heo avatar

Watchers

 avatar

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.