Comments (1)
Hi, I think this is because we didn't specify a build option for unpkg
or jsdelivr
. With this PR I hope it'll be fixed #101.
After this PR passes you will be able to use vue3-tree
like this:
<link rel="stylesheet" href="https://unpkg.com/[email protected]/dist/style.css"/>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/vue.global.min.js"></script>
<script src="https://unpkg.com/[email protected]/dist/vue3-tree.js"></script>
const TreeComponent = Tree.default;
/// OR
const MyComponent = {
components: {
Tree: Tree.default
}
}
You need to import Vue
first and then Vue3-Tree
from vue3-tree.
Related Issues (20)
- Edit wrong data thrown with onDataUpdated
- When updating updateNode it should be updated according to the value of useCheckbox
- Change onUpdate emit name
- Misleading naming on TreeRow
- Support for drag & drop (reordering nodes) ? HOT 3
- Support empty nodes array HOT 2
- How do I handle initial checked nodes ? HOT 3
- Support for onClickNode? HOT 3
- Nodes should be renamed to "children"
- Prop names starting with "use-*" should be changed to "show-*".
- Inline style related props should be removed.
- `id` should not be required.
- tree-row clickability HOT 1
- Styling with Tailwind HOT 1
- Demo HOT 3
- Toggling checkbox of parent does not toggle checkbox of all children
- Add new node under any node? any icons to add or any method to achive it? HOT 1
- Scope on node label
- Documentation link error 404 HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vue3-tree.