refactor: editor codeblock -> Vue component

This commit is contained in:
NGPixel
2017-05-28 14:34:50 -04:00
parent ebe288a5b2
commit f577a8134e
14 changed files with 295 additions and 303 deletions

View File

@@ -1,6 +1,5 @@
'use strict'
/* global siteLang */
/* eslint-disable no-new */
import $ from 'jquery'
@@ -147,7 +146,7 @@ $(() => {
// ====================================
const i18n = new VueI18Next(i18next)
new Vue({
window.wikijs = new Vue({
mixins: [helpers],
components: {
alert: alertComponent,