refactor: editor + discard edits + save -> vue components

This commit is contained in:
NGPixel
2017-05-27 18:03:24 -04:00
parent 6faf058c21
commit 99ff1120c1
10 changed files with 141 additions and 89 deletions

View File

@@ -1,5 +1,5 @@
<template lang="pug">
transition
.has-collapsable-nav
ul.collapsable-nav(v-for='treeItem in tree', :class='{ "has-children": treeItem.hasChildren }', v-cloak)
li(v-for='page in treeItem.pages', :class='{ "is-active": page.isActive }')
a(v-on:click='mainAction(page)')