-
-
Notifications
You must be signed in to change notification settings - Fork 838
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The page is blank? #13
Comments
Hello @wanghaixu yes, the page is blank, because the entrypoint index.js contains only the exports of all modules. If you want to see the example charts you would have to create a vue instance and import the app component under the examples folder. import Vue from 'vue'
import App from './examples/App.vue'
/* eslint-disable no-new */
new Vue({
components: { App }
}).$mount('#app') |
ok |
I will maybe change the webpack conf for develeopment so it does not use the index.js as an entry point, but a dev.js or main.js with the imported app. |
I want to apply to the mobile devices, but the effect is not very good。 |
You should check the Chart.js documentation There are two options for responsiveness:
If you set And with You can try to play around with this settings to get a better responsive view. |
Thank you for your guidance |
Expected Behavior
Actual Behavior
npm i => npm run dev => The page is blank
Environment
^1.1.3
The text was updated successfully, but these errors were encountered: