import Quasar, * as All from 'quasar'
import { AddressbarColor } from 'quasar'
eslint catch duplicates 가져 오기, 중복되지 않고 가져 오기에서 AddressbarColor를 호출하는 방법?중복 가져 오기를 수정하는 방법은 무엇입니까?
import Quasar, * as All from 'quasar'
import { AddressbarColor } from 'quasar'
eslint catch duplicates 가져 오기, 중복되지 않고 가져 오기에서 AddressbarColor를 호출하는 방법?중복 가져 오기를 수정하는 방법은 무엇입니까?
함수를 올바르게 내 보낸 경우 두 번째 선을 제거 할 수 있습니다. Quasar.js에서
: 예를 들어
export { AdressbarColor };
하는 index.js
import Quasar, * as All from 'quasar';
//to call AdressbarColor use this
All.AdressbarColor();
에 나는 테스트하지 못했지만, 나는 그것이 작동 것이라 생각합니다.
import Quasar, { AddressbarColor }, * as All from 'quasar';
닫기 curlybrace 후 예기치 않은 토큰 –
curlybrace를 끝내시겠습니까? 'quasar에서 *, 모두, {quasar '에서 {AddressbarColor} 가져 오기, – selmansamet
예기치 않은 토큰 ("All"다음의 쉼표) –
가져 오기 * as All
및 destructuring 사용하여 변수에 AddressbarColor
을 할당합니다
import Quasar, * as All from 'quasar'
const { AddressbarColor } = All
아 바보, 내가 Quasar.AdressbarColor()를 수행하고 정의되지 않은 속성을 얻었다. 감사. –