jade editor plugin for vue.js
JavaScript HTML Shell
Switch branches/tags
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
dist
src
test
.gitignore
.travis.yml
LICENSE
README.md
bower.json
gulpfile.js
package.json
watch-vje.sh

README.md

vue-jade-editor

Build Status

online jade(pug) editor plugin for vue.js

demo & doc

visit http://html5beta.com/apps/vue-jade-editor.html

get

bower install vue-jade-editor

or

npm install vue-jade-editor

features

  • auto indent(backspace enter)
  • indent can be customized
  • auto close for quote, single quote, bracket, left parenthesis
  • smart tab: tab selection or single line
  • untab keyboard shortcuts: ctrl + [
  • tab keyboard shortcuts: ctrl + ] or just tab
  • keyboard shortcuts for i and b
  • content can be modifed by events
  • auto increase textarea height
  • all methods/events extendable

test & build

git clone https://github.com/zxdong262/vue-jade-editor.git
cd vue-jade-editor
npm install
bower install
npm run test

#build
gulp build

License

MIT