Comments (6)
Why do you want to register component?
from docute.
Because the documentation says the plugins context has registerComponent
which accept Vue component as the argument. I want to append the component at the end of docute content. So the question is, how do I create the Vue component if I cannot access the global Vue variable on the plugin?
from docute.
You don't need Vue
, simply:
registerComponent('content:end', {
render(h) {
return h('div')
}
})
template
works too
from docute.
Great! I'll close this issue. Thanks man
from docute.
btw, I just added Vue
to context too in v1.6.3
😃
from docute.
Man, that's even great, thanks a lot. I admire your work.
from docute.
Related Issues (20)
- JS.ORG CLEANUP HOT 1
- Children in children not working HOT 2
- Documentation does not indicate how to install HOT 1
- Multi-level menu
- Fix Repl.it example HOT 1
- Question: How to change the theme of code highlight?
- Deploy to gitlab pages
- Multilanguage with LTR and RTL languges HOT 2
- Ability for a standalone file:// is broken HOT 3
- Select has inverted colors in dark theme
- Theme search function
- api.onUpdate causes rendering to fail
- Support explicit markdown URLs like docsify
- double horizontal scroll bar in code snippets
- use with `router-link`
- [Feature Request] any chance we get React in markdown support?
- Bug: The vue template doesn't work on the sidebar!
- Bug: "router.base" not work! HOT 1
- docute.org seems to be dead HOT 3
- People visiting docute.egoist.sh are getting HACKED HOT 2
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 docute.