一、UI框架
成都創(chuàng)新互聯(lián)長(zhǎng)期為上千余家客戶提供的網(wǎng)站建設(shè)服務(wù),團(tuán)隊(duì)從業(yè)經(jīng)驗(yàn)10年,關(guān)注不同地域、不同群體,并針對(duì)不同對(duì)象提供差異化的產(chǎn)品和服務(wù);打造開放共贏平臺(tái),與合作伙伴共同營(yíng)造健康的互聯(lián)網(wǎng)生態(tài)環(huán)境。為新城企業(yè)提供專業(yè)的成都網(wǎng)站設(shè)計(jì)、成都做網(wǎng)站,新城網(wǎng)站改版等技術(shù)服務(wù)。擁有10年豐富建站經(jīng)驗(yàn)和眾多成功案例,為您定制開發(fā)。
推薦 Elemnet ui
二、圖表
vue-schart
npm install vue-schart -S
<template> <div id="app"> <schart :canvasId="canvasId" :type="type" :width="width" :height="height" :data="data" :options="options" ></schart> </div> </template> <script> import Schart from 'vue-schart'; export default { data() { return { canvasId: 'myCanvas', type: 'bar', width: 500, height: 400, data: [ {name: '2014', value: 1342}, {name: '2015', value: 2123}, {name: '2016', value: 1654}, {name: '2017', value: 1795}, ], options: { title: 'Total sales of stores in recent years' } } }, components:{ Schart } } </script>
三、富文本編輯器
vue-quill-editor
npm install vue-quill-editor
npm install quill
import Vue from 'vue' import VueQuillEditor from 'vue-quill-editor' import 'quill/dist/quill.core.css' import 'quill/dist/quill.snow.css' import 'quill/dist/quill.bubble.css' Vue.use(VueQuillEditor) <template> <div class="edit_container"> <quill-editor v-model="content" ref="myQuillEditor" :options="editorOption" @blur="onEditorBlur($event)" @focus="onEditorFocus($event)" @change="onEditorChange($event)"> </quill-editor> <button v-on:click="saveHtml">保存</button> </div> </template> <script> export default { name: 'App', data(){ return { content: `<p>hello world</p>`, editorOption: {} } },computed: { editor() { return this.$refs.myQuillEditor.quill; }, },methods: { onEditorReady(editor) { // 準(zhǔn)備編輯器 }, onEditorBlur(){}, // 失去焦點(diǎn)事件 onEditorFocus(){}, // 獲得焦點(diǎn)事件 onEditorChange(){}, // 內(nèi)容改變事件 saveHtml:function(event){ alert(this.content); } } } </script> <style> #app { font-family: 'Avenir', Helvetica, Arial, sans-serif; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-align: center; color: #2c3e50; margin-top: 60px; } </style>
四、markdown編輯器
npm install mavon-editor --save
<template> <div> <mavon-editor ref="editor" v-model="doc"> </mavon-editor> </div> </template> <script> import {mavonEditor} from "mavon-editor"; import "mavon-editor/dist/css/index.css"; export default { name: "Create", components: {mavonEditor}, data(){ return { doc: '', } } } </script>
總結(jié)
以上所述是小編給大家介紹的Vue搭建后臺(tái)系統(tǒng)需要注意的問題,希望對(duì)大家有所幫助,如果大家有任何疑問請(qǐng)給我留言,小編會(huì)及時(shí)回復(fù)大家的。在此也非常感謝大家對(duì)創(chuàng)新互聯(lián)網(wǎng)站的支持!
如果你覺得本文對(duì)你有幫助,歡迎轉(zhuǎn)載,煩請(qǐng)注明出處,謝謝!
本文題目:Vue搭建后臺(tái)系統(tǒng)需要注意的問題
網(wǎng)站地址:http://aaarwkj.com/article22/igddcc.html
成都網(wǎng)站建設(shè)公司_創(chuàng)新互聯(lián),為您提供搜索引擎優(yōu)化、商城網(wǎng)站、企業(yè)網(wǎng)站制作、網(wǎng)站建設(shè)、靜態(tài)網(wǎng)站、動(dòng)態(tài)網(wǎng)站
聲明:本網(wǎng)站發(fā)布的內(nèi)容(圖片、視頻和文字)以用戶投稿、用戶轉(zhuǎn)載內(nèi)容為主,如果涉及侵權(quán)請(qǐng)盡快告知,我們將會(huì)在第一時(shí)間刪除。文章觀點(diǎn)不代表本網(wǎng)站立場(chǎng),如需處理請(qǐng)聯(lián)系客服。電話:028-86922220;郵箱:631063699@qq.com。內(nèi)容未經(jīng)允許不得轉(zhuǎn)載,或轉(zhuǎn)載時(shí)需注明來源: 創(chuàng)新互聯(lián)