Ueditor for Vue
1098 단어 vue.js
1.1: ueditor public
2:ueditor.config.js 변경
2.1:window.UEDITOR_HOME_URL = "ueditor "
2.2: serverUrl
3:vue-ueditor-wrap 를 도입 하여 전역 구성 요소 main.js 로 등록 합 니 다.
3.1:import VueUeditorWrap from 'vue-ueditor-wrap'
3.2:Vue.component('VueUeditorWrap',VueUeditorWrap)
3.3:
`export default {
data () {
return {
// someTing: “hahahahahha”,
value: “ vue-ueditor-wrap ”,
myConfig: {
//
autoHeightEnabled: false,
//
initialFrameHeight: 600,
//
initialFrameWidth: “100%”,
// ( , !!!)
serverUrl: “ ”,
// UEditor , vue-cli , ,vue-ueditor-wrap , , 2
UEDITOR_HOME_URL: “/UE/”
}}
} }`
4:오류 가 발생 하지 않 으 면 ueditor 전체 페이지 가 나 와 야 합 니 다.
이 내용에 흥미가 있습니까?
현재 기사가 여러분의 문제를 해결하지 못하는 경우 AI 엔진은 머신러닝 분석(스마트 모델이 방금 만들어져 부정확한 경우가 있을 수 있음)을 통해 가장 유사한 기사를 추천합니다:
[백견불여일타/Vue.js] 4장 - 입력 폼 데이터 가져오기v-model 데이터 입력 select 지난 장에서는 v-bind를 이용해서 HTML 태그 속성 값을 Vue로 다루는 법을 배웠습니다. 이번에는 사용자가 입력한 데이터를 Vue로 가져오는 법에 대해 다룹니다. 웹 페...
텍스트를 자유롭게 공유하거나 복사할 수 있습니다.하지만 이 문서의 URL은 참조 URL로 남겨 두십시오.
CC BY-SA 2.5, CC BY-SA 3.0 및 CC BY-SA 4.0에 따라 라이센스가 부여됩니다.