하루하나
close
프로필 배경
프로필 로고

하루하나

  • ALL (217)
    • 쿠베플로우 kubeflow (1)
    • React Native (1)
      • Expo (1)
    • Programming (187)
      • spring+jwt+react (4)
      • wordpress (3)
      • Vultr (1)
      • Flutter (3)
      • Vue-project (1)
      • Vue-tip (17)
      • AngularJS (12)
      • Bootstrap (2)
      • Book (1)
      • CentOS (5)
      • Code (0)
      • Css (13)
      • Docker (7)
      • Eclipse (1)
      • Freemarker (1)
      • Git (9)
      • Front-End (6)
      • Error (7)
      • Gulp.js (0)
      • Java (12)
      • Python (5)
      • Javascript (19)
      • JPA (5)
      • jQuery (2)
      • Mac (6)
      • MySql (4)
      • Springboot (21)
      • Springboot-blog (0)
      • Daily (1)
      • Springboot-tip (3)
      • Spring (1)
      • Thymeleaf (1)
      • Tomcat (1)
      • Typescript (3)
      • Tool (5)
      • Sql (1)
      • prisma (1)
      • react (1)
    • Life (14)
      • Review (0)
      • Tip (3)
      • 리뷰 (8)
      • 부동산 (2)
  • 홈
  • 태그
  • 미디어로그
  • 위치로그
  • 방명록

Node.js Sass version 7.0.0 is incompatible with ^4.0.0 || ^5.0.0 || ^6.0.0

First remove node-sass: yarn remove node-sass If you use npm: npm uninstall node-sass Then install sass instead of node-sass: yarn add -D sass or npm i -D sass Finally your SCSS and Sass files will be correctly compiled! https://stackoverflow.com/questions/70281346/node-js-sass-version-7-0-0-is-incompatible-with-4-0-0-5-0-0-6-0-0

  • format_list_bulleted Programming/Vue-tip
  • · 2022. 1. 20.
  • textsms

[vue/typescirpt] Cannot resolve definitions for module 'xxx'

typescript 프로젝트에서 외부라이브러리를 import 할때 .d.ts 파일이 없을경우 생기는 오류. 왠만한 라이브러리들을 typescript에 대응하여 .d.ts 파일을 제공하지만 오래된 라이브러리나 관리가 안되는 라이브러리에 경우 에러가 발생한다 이럴때는 직접 .d.ts 파일을 생성해주면 된다. 예를 들어 vue-json-pretty 라는 라이브리를 사용한다고 하면 types 폴더 밑에 vue-json-pretty.d.ts 라는 파일을 만들고 아래와 같이 선언을 해주면 된다. declare module 'vue-json-pretty' { import {Component} from 'vue/types/options' const VueJsonPretty: Component export default..

  • format_list_bulleted Programming/Vue-tip
  • · 2020. 10. 21.
  • textsms

Vue Class Component / router event 처리

뷰 클래스 타입으로 뷰 클래스 타입으로 작성시 아래와 같은 이벤트를 처리할 경우 그냥 사용하면 안되고 hooks를 추가해 주어야 한다. 'beforeRouteEnter', 'beforeRouteLeave', 'beforeRouteUpdate' - 최상단에 class-component-hook.js 파일 생성 // class-component-hooks.js import Component from 'vue-class-component' // Register the router hooks with their names Component.registerHooks([ 'beforeRouteEnter', 'beforeRouteLeave', 'beforeRouteUpdate' ]) - 실제 vue 페이지에서 함수 ..

  • format_list_bulleted Programming/Vue-tip
  • · 2020. 9. 4.
  • textsms

[error] Could not find a declaration file for module 'vuetify/lib'

vuecli로 프로젝트 생성후 vue add vuetify 로 vuetify를 추가한후 실행했을때 아래와 같은 에러가 나왔을때 Could not find a declaration file for module 'vuetify/lib' Try `npm install @types/vuetify` if it exists or add a new declaration (.d.ts) file containing `declare module 'vuetify/lib';` typescript를 쓰고있는데 위와같이 에러가 나올경우 tsconfig.js >types 에 "veutify"를 추가하면 된다. "types": [ "webpack-env", "mocha", "chai", "vuetify" ],

  • format_list_bulleted Programming/Vue-tip
  • · 2020. 3. 28.
  • textsms

zsh: command not found: vue

잘되던 vue가 실행하니 아래와 같이 에러메세지를... zsh: command not found: vue 결국 재설치가 답 >> sudo npm install -g vue-cli (cli2) sudo npm install -g @vue/cli (cli3)

  • format_list_bulleted Programming/Vue-tip
  • · 2020. 1. 7.
  • textsms

vue i18n 사용하기

vue에서 다국어를 사용하기위해 i18n을 사용하는 방법에 대해서 정리해 보겠습니다. vue i18n 사이트 https://kazupon.github.io/vue-i18n/ vue-cli 3버전이상을 사용하시는 분은 아래와 같이 쉽게 패키지 추가가 가능합니다. > vue add i18n 명령어를 실행하면 몇가지 질문이 나옵니다. The locale of project localization. en? The fallback locale of project localization. en? The directory where store localization messages of project. It's stored under `src` directory. locales? Enable locale messag..

  • format_list_bulleted Programming/Vue-tip
  • · 2019. 12. 10.
  • textsms
  • navigate_before
  • 1
  • 2
  • 3
  • navigate_next
반응형
공지사항
전체 카테고리
  • ALL (217)
    • 쿠베플로우 kubeflow (1)
    • React Native (1)
      • Expo (1)
    • Programming (187)
      • spring+jwt+react (4)
      • wordpress (3)
      • Vultr (1)
      • Flutter (3)
      • Vue-project (1)
      • Vue-tip (17)
      • AngularJS (12)
      • Bootstrap (2)
      • Book (1)
      • CentOS (5)
      • Code (0)
      • Css (13)
      • Docker (7)
      • Eclipse (1)
      • Freemarker (1)
      • Git (9)
      • Front-End (6)
      • Error (7)
      • Gulp.js (0)
      • Java (12)
      • Python (5)
      • Javascript (19)
      • JPA (5)
      • jQuery (2)
      • Mac (6)
      • MySql (4)
      • Springboot (21)
      • Springboot-blog (0)
      • Daily (1)
      • Springboot-tip (3)
      • Spring (1)
      • Thymeleaf (1)
      • Tomcat (1)
      • Typescript (3)
      • Tool (5)
      • Sql (1)
      • prisma (1)
      • react (1)
    • Life (14)
      • Review (0)
      • Tip (3)
      • 리뷰 (8)
      • 부동산 (2)
최근 글
인기 글
최근 댓글
태그
  • #sts
  • #css
  • #JPA
  • #MySQL
  • #AngularJS
  • #GIT
  • #Vue
  • #javascript
  • #springboot
  • #error
전체 방문자
오늘
어제
전체
Copyright © 쭈미로운 생활 All rights reserved.
Designed by JJuum

티스토리툴바