PitchPrint plugin for VueJS to show the editor in the front.
npm install vue-pitchprintThis is a PitchPrint component that can be easily used in your VueJS project. This component will display the PitchPrint editor on the page that you render the component.
import PitchPrint from 'vue-pitchprint'
Use the component
export default {
name: 'App',
components: {
PitchPrint,
},
mounted() {
this.$root.$on('pitchprint-project-saved', this.showPreview);
},
methods: {
showPreview(data) {
document.querySelector('.preview').innerHTML = ;
}
}
}
Use the component in your template:
Welcome to PitchPrint VueJS Demo App
https://vue.demo.pitchprint.io/