vue.js18 [VUE.JS] VUE ROUTER https://router.vuejs.org/api/ API Documentation | Vue Router API Documentation Enumerations Interfaces Type Aliases LocationQuery Ƭ LocationQuery: Record Normalized query object that appears in RouteLocationNormalized LocationQueryRaw Ƭ LocationQueryRaw: Record 2023. 2. 12. [VUE.JS] vscode eslint vue/multi-word-component-names 오류 vscode vue component 생성 시 multi-word로 명명해야한다는 오류 발생 .eslintrc.js 설정으로 해결 https://eslint.vuejs.org/rules/multi-word-component-names.html vue/multi-word-component-names | eslint-plugin-vue eslint.vuejs.org 2023. 2. 10. [VUE.JS] 컴포지션 API https://v3-docs.vuejs-korea.org/api/composition-api-setup.html 컴포지션 API: setup() | Vue.js v3-docs.vuejs-korea.org 컴포지션(Composition) API는 옵션을 선언하는 대신 import한 함수를 사용하여 Vue 컴포넌트를 작성할 수 있는 API 세트이다 기본 사용법(setup), 반응형 데이터(ref), 생명주기 훅 숫자 세기: {{ count }} props, context export default { props: { title: String }, setup(props) { console.log(props.title) } } export default { setup(props, context) { // 속성 .. 2023. 2. 10. [VUE.JS] 컴포넌트 ref https://v3-docs.vuejs-korea.org/guide/essentials/template-refs.html 템플릿 참조 | Vue.js v3-docs.vuejs-korea.org ref dom element에 접근할수 있는 속성 컴포넌트가 마운트된 후에만 ref에 접근할 수 있다 컴포넌트 ref 2023. 2. 10. 이전 1 2 3 4 5 다음