Skip to content
This repository has been archived by the owner on Jul 22, 2018. It is now read-only.
Abdullah Marax edited this page Nov 2, 2016 · 4 revisions

###Traditional

//Stil dosyaları için
<link rel=stylesheet href="./static/plekan.css">
.....
<div id="app">
  <plekan></plekan>
</div>
.....
//Js dosyaları için
<script src="path/vue.js"></script>
<script src="path/plekan.js"></script>
<script src="path/plekanmodules.js"></script>

Vue.use(plekan.editor,{
  defaultLanguage : "tr",
  languages : ["tr","en"],
  modules:plekanmodules,
})

new Vue({
  el: '#app'
})

Plekan need Vue.js 2.x

###Babel/Webpack/Browserifiy

import {editor} from './plekan.'
import plekanmodules from './plekan/plekanmodules'

Vue.use(plekan.editor,{
  defaultLanguage : "tr",
  languages : ["tr","en"],
  modules:plekanmodules,
})
new Vue({
  el: '#app'
})

You can implement plekan in this way. If you register the plekan.editor then you can access as global <plekan></plekan> components, then this point you can put it any place.

Chekout more options Options Chekout more example Example

Clone this wiki locally