inflearn logo
강의

강의

N
챌린지

챌린지

멘토링

멘토링

N
클립

클립

로드맵

로드맵

지식공유

vue.js 실전 프로젝트(트위터 클론)

기본 프로그램 설치하기

tailwind css with vue3 and vite 설치 후 에러 문의

826

독립출판식목일

작성한 질문수 6

0

안녕하세요! <기본 프로그램 설치하기> 아래 설치 링크가 강의 시점보다 과거여서 제 컴퓨터에서는 @vitejs가 detected된다고 나와요.

그래서 vite를 대신 사용하라고 합니다.

https://tailwindcss.com/docs/guides/vue-3-vite

그리고 yarn dev를 통해 purge부분에서 아래와 같은 에러가 납니다. 혹시 해결방법을 아실까요?

 

VITE v3.1.6 ready in 155 ms

➜ Local: http://127.0.0.1:5173/

➜ Network: use --host to expose

warn - The purge/`content` options have changed in Tailwind CSS v3.0.

warn - Update your configuration file to eliminate this warning.

warn - https://tailwindcss.com/docs/upgrade-guide#configure-content-sources

warn - The darkMode option in your Tailwind CSS configuration is set to false, which now behaves the same as media.

warn - Change darkMode to media or remove it entirely.

warn - https://tailwindcss.com/docs/upgrade-guide#remove-dark-mode-configuration

 

 

그리고 아래처럼 script부분에서 export default {} 에서 이슈가 생깁니다. 경고를 주는데, 해결방법을 모르겠습니다.

도와주세요!!!

[plugin:vite:vue] [@vue/compiler-sfc] <script setup> cannot contain ES module exports. If you are using a previous version of <script setup>, please consult the updated RFC at https://github.com/vuejs/rfcs/pull/227.

/Users/****/my-project/src/App.vue
7  |  </template>
8  |  
9  |  <script setup>
   |                 ^
10 |  export default {}
   |  ^^^^^^^^^^^^^^^^^
11 |  </script>

firebase vuejs 클론코딩

답변 0

배포 후 로그인 불가 현상

0

304

1

쪽지에서 메세지를 쓰면 상대방에게 즉시 나타나게 하려면 어떻게 해야 할까요?

0

309

1

permission denied firebase 에러

2

2193

1

fontawesome이 6으로 업데이트되면서 5와 같이 cdn키를 발급하지 않습니다. 6의 kit을 사용해봤는데요. 동작하지 않아서요. 대체제가 있을까요?

0

379

1

record.meta.requireAuth에서 requireAuth를 인식을 못해요ㅠ

0

305

0

Vue 2로도 개발할 수 있나요??

0

319

1

트윗페이지의 코멘트 관련하여 질문드립니다.

0

222

0

트윗 분기 처리 강의 내용 중 delete에 관한 문의입니다.

0

207

0

firebase tools의 버전이 궁금합니다

0

335

1

npm run dev 오류

0

317

0

firebase 버전에 따른 import 문제 질문드립니다

0

536

4

코멘트가 모든 트윗에 보입니다.

0

328

1

n.indexOf is not a function 에러..

0

636

2

unresolved variable이라고 나옵니다.

0

2858

1

파이어 베이스 연동시 에러가 납니다. ㅠㅠ

1

994

2

진짜 간절합니다 도와주세요

0

223

0

도와주세요 ㅠㅠ

0

244

1

computed 질문이 있습니다.

0

280

1

git clone 후 npm run dev 시, 나타나는 에러

0

600

2

router v-if문 관련문의입니다.

0

306

1

image ref의 속성이 data들과 어떻게 바인딩이 되는건지..잘 모르겠습니다.

0

429

1

onBeforeMount에 onSnapshot을 사용하는거에 대한 질문 드립니다.

0

234

1

Login과 Register 메뉴 관련 (v-for과 v-if)

0

266

1

components와 pages 디렉토리

0

299

1