Comments (6)
import { creatApp, h } from 'vue'
import App from 'App.vue'
const app = createApp({
onMounted() {
// do what you need here
},
render: () => h(App)
})
from core.
@LinusBorg,This is a solution I didn't expect, thanks, but I have one more question。
when mounted
, mount(div)
, the div
children don't have element
from core.
That would depend on the implementation of that component. Seems that it rendered nothing, maybe because of a v-if? I cant tell without seeing it
from core.
That would depend on the implementation of that component. Seems that it rendered nothing, maybe because of a v-if? I cant tell without seeing it这将取决于该组件的实现。似乎没有渲染任何内容,也许是因为 v-if?不亲眼所见我无法分辨
It’s pure html without any js logic.
from core.
I will give you a warehouse address later. Are you interested in helping track it down?
from core.
Have you checked that cur.component
is actually containing the component at the moment of rendering?
from core.
Related Issues (20)
- Extended array methods are called with unexpected values HOT 2
- parameter missing in extended array find method
- ComputedRef should not be assignable to WritableComputedRef
- Inconsistent execution order of Sync Watchers on `computed` property HOT 4
- runtime prop type of `keyof SomeInterface['property']` resolves to `Object` HOT 1
- Values provided from app are `undefined` when using `inject` in Pinia setup store HOT 4
- Cannot find module 'entities/dist/decode.js' from 'node_modules/@vue/compiler-core/dist/compiler-core.cjs.js' HOT 5
- JSDoc examples for augmenting global properties and custom options differ from docs HOT 1
- Style scoped is not working without template HOT 3
- Vue 3 and Axios Loading State Issue HOT 3
- Child combinator (>) in :has sometimes vanishes when transpiling nested css in scoped styles HOT 3
- Union typed array events do not trigger event handlers
- Async Component inside Suspense doesn't receive prop update HOT 1
- ToRef modifies properties in props, page not refreshed HOT 1
- Errors in `computed` bypass `onErrorCaptured` HOT 3
- Computed values from extended array methods do not re-evaluate HOT 2
- watchEffect cannot catch reactivity in callback of Set.forEach HOT 4
- Declaring an arrow function after a vue immediate watcher triggers error HOT 6
- HMR loses component mixin when changed Component has been altered externally. HOT 2
- hydrating vue custom element with key prop will cause unexpected re-mount and lose parent context HOT 1
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 core.