Commit 2bca6463 authored by Prashant Savekar's avatar Prashant Savekar
Browse files

Different design is integrated for login page & Text editor is added with Editor1 component

parent 7d27a665
No related merge requests found
Showing with 44 additions and 1 deletion
......@@ -26,9 +26,11 @@ import '../public/assets/plugins/materialdesignicons/css/materialdesignicons.min
import 'vue-select/dist/vue-select.css'
import '../public/assets/css/template.scss'
import VueTimepicker from 'vuejs-timepicker'
import CKEditor from '@ckeditor/ckeditor5-vue';
import { getCountries, getStates, getCities } from 'cities-states-countries';
Vue.config.productionTip = false
const isProduction = process.env.NODE_ENV === 'production'
......@@ -50,6 +52,7 @@ Vue.use(Toasted)
Vue.use(VueFormWizard)
Vue.use(VueSweetalert2)
Vue.use(Vuebar);
Vue.use(CKEditor);
Vue.component('apexchart', VueApexCharts)
var baseURL = 'http://localhost:8080/server'
var cdnBaseURL = 'http://localhost:8080/cdnserver'
......
......@@ -315,6 +315,15 @@ export default new Router({
meta: {
title: 'Registration2'
}
}
},
{
path: '/editor1',
name: 'Editor1',
component: loadView('theme/Editor1'),
meta: {
title: 'Editor1'
}
}
]
})
\ No newline at end of file
<template>
<main>
<div class="card">
<div class="card-body">
<h3>Vue2 Editor</h3>
For documentation <a href="https://www.npmjs.com/package/vue2-editor">click here</a>
<vue-editor v-model="content"></vue-editor>
</div>
</div>
</main>
</template>
<script>
// @ is an alias to /src
import { VueEditor } from "vue2-editor";
export default {
name: "Editor2",
components: {
VueEditor
},
data() {
return {
content: "<h1>Some initial content</h1>"
};
}
};
</script>
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment