(Live) real-time raw Markdown Editor in Vue.js
MIT License
This project contains the source code for a real-time markdown editor built with Vue.js and Pusher.
$ git clone https://github.com/jaayperez/markdown-test.git
$ cd markdown-test
npm install
.env
file in the root of the new directory with the content below:PUSHER_APP_ID=YOUR_APP_ID
PUSHER_APP_KEY=YOUR_APP_KEY
PUSHER_APP_SECRET=YOUR_APP_SECRET
PUSHER_APP_CLUSTER=YOUR_APP_CLUSTER
Open ./src/components/HomeComponent.vue
and update with the appropriate credentials as obtained from your Pusher dashboard YOUR_APP_KEY
and CLUSTER
:
let pusher = new Pusher("YOUR_APP_KEY", {
cluster: process.env.PUSHER_APP_CLUSTER,
...
});
$ npm start
node server