This repository has been archived by the owner on Dec 6, 2021. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 255
can not digest the vue single file component (SFC) directly #472
Labels
Comments
that's not how Vue works, create a root Vue instance in a .js file instead: import Vue from 'vue'
import App from './App.vue'
new Vue({
el: '#app',
render: h => h(App)
}) |
it might be better to emphasize this in the doc, since date back to the older poi version it should work also, the official cli supports this feature: https://cli.vuejs.org/guide/prototyping.html |
kenberkeley
changed the title
Not rendering, only an empty div#app
can not digest the vue single file component (SFC) directly
Jul 31, 2018
This issue has been marked as Stale, it will be closed in a week if there's no furthur activity. |
This was referenced Nov 5, 2022
This was referenced Dec 25, 2022
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Do you want to request a feature or report a bug?
Bug
What is the current behavior?
Not render the component
If the current behavior is a bug, please provide the steps to reproduce.
What is the expected behavior?
Display
Hello, world!
If this is a feature request, what is the motivation or use case for changing the behavior?
Please mention other relevant information such as the browser version, Node.js version, Poi version and Operating System.
Windows 10, Chrome 67, Node v9.10.1, poi 10.2.9
The text was updated successfully, but these errors were encountered: