일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | |||
5 | 6 | 7 | 8 | 9 | 10 | 11 |
12 | 13 | 14 | 15 | 16 | 17 | 18 |
19 | 20 | 21 | 22 | 23 | 24 | 25 |
26 | 27 | 28 | 29 | 30 | 31 |
- 모던 자바스크립티 Deep Dive
- javascript
- next-auth
- sql
- React.memo
- tailwindcss
- react-dom
- 컴포넌트 최적화
- engines locking
- 프로그래머스
- leetcode
- React
- eslintrc
- next.js
- 모던 자바스크립트 Deep Dive
- Biweekly Contest 79
- React Private Routes
- 호이스팅
- Weekly Contest
- Sanity.io
- React Public Routes
- .env
- Vite
- toast-ui-editor
- commitlint
- BFS
- React Router dom v6
- Medium
- medinum
- LV. 2
- Today
- Total
목록next.js (3)
뚜벅
이번 개인 프로젝트에서 prisma + mongoDB 를 사용하게 돼서 사용하는 방법에 관해 글을 작성합니다. 1. MongoDB Atlas Database 생성 1. 사이트 접속 후 로그인 MongoDB Atlas Database | Multi-Cloud Database Service The multi-cloud database service at the heart of our developer data platform that accelerates and simplifies how you build with data. Try MongoDB Atlas today! www.mongodb.com 2. Project 생성 project 이름과 추가할 멤버를 설정한 뒤 project를 생성합니다. 3. Dat..
Next.js + Tailwindcss 환경에서 sanity init 후 sanity studio를 실행했을 때 발생한 에러입니다. 에러 해결 방법은 sanity 실행 폴더에 tailwind.config.js가 있으면 됩니다. 1. 생성한 sanity 폴더 안에 tailwind.config.js 파일을 추가한다. /** @type {import('tailwindcss').Config} */ module.exports = { content: [ './pages/**/*.{js,ts,jsx,tsx}', './components/**/*.{js,ts,jsx,tsx}', './app/**/*.{js,ts,jsx,tsx}', ], theme: { extend: {}, }, plugins: [], } Sanity...
Next.js + Sanity 프로젝트 진행 중 스키마 파일에서 아래 에러가 발생했습니다! Parsing Error: Cannot find module '@babel/preset-env' for Sanity 처음에는 @bebel/preset-env 파일이 설치가 안되어서 에러가 발생하는 줄 알고 설치하였지만 에러는 그대로였습니다..! 그래서 구글 검색 중 해결법을 찾아 게시물을 작성합니다. 해결법은 간단했는데요 sanity 폴더 아래 .eslintrc 파일에 한 줄만 추가해주면 됩니다. { "extends": "@sanity/eslint-config-studio", "eslint.workingDirectories": ["./web", "./studio"] // 추가 } Parsing Error: Cann..