https://github.com/statamic/page-tree
https://github.com/statamic/page-tree
Last synced: 8 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/statamic/page-tree
- Owner: statamic
- Created: 2015-10-08T16:42:59.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2015-10-08T19:25:08.000Z (about 10 years ago)
- Last Synced: 2025-02-15T20:57:08.326Z (10 months ago)
- Language: JavaScript
- Size: 152 KB
- Stars: 2
- Watchers: 6
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Vue.js Page Tree
> Adapted from Statamic 2
### Getting started
Install the node modules, and run Gulp to build into the `dist` folder.
```
npm install
bower install
gulp
```
A demo can be viewed at `index.html`.
### Notes
- AJAX requests have been commented out and replaced with `setTimeout` calls.
- The `jquery-sortable` module will conflict with jQuery UI's Sortable plugin. If you need to use both (we do, in Statamic) you'll need to:
- Make a copy of the plugin file
- Rename it to something else like `nestedSortable`. The name is passed into the plugin in the last line of the file. You can simply modify that.
- Include it in your build process.
- Update the `.sortable()` call in the [page tree file](https://github.com/wilderborn/page-tree/blob/master/src/js/page-tree.js#L64) to whatever you renamed it.