Comments (4)
Can't run from /docsrc
yarn dev
[Vue warn]: Unknown custom element: <D3SlopeChart> - did you register the component correctly? For recursive components, make sure to provide the "name" option.
found in
---> <SlopeChartExampleDataUpdate> at src/components/examples/SlopeChartExampleDataUpdate.vue
<HomeView> at src/views/Home.vue
<App> at src/App.vue
<Root>
warn @ vue.runtime.esm.js?2b0e:619
...
from vue-d3-charts.
Sorry, I hadn't updated the npm repository yet. Try installing it again now
from vue-d3-charts.
Thank you!
Now docsrc
works perfectly
➜ docsrc git:(master) ✗ npm list | grep vue-d3-charts
[email protected] /home/alukos/Projects/sandbox/vue/vue-d3-charts/docsrc
├─┬ [email protected]
But nothing has changed in my nuxt app after reinstalling the module
index.vue:
<template>
<D3BarChart :config="config" :datum="data"></D3BarChart>
</template>
<script>
import { D3BarChart } from 'vue-d3-charts'
export default {
components: { D3BarChart },
...
npm list | grep vue-d3-charts
...
├─┬ [email protected]
yarn dev
...
"export 'D3BarChart' was not found in 'vue-d3-charts'
from vue-d3-charts.
Ok, I've implemented vue-sfc-rollup instead of rollup.js and all seem to be fine now.
Check it out in version 0.2.3
As you said, also define the chart in components:
import { D3BarChart } from 'vue-d3-charts';
export default {
name: 'LoremIpsumComponent',
components: {
D3BarChart,
},
// ...
};
from vue-d3-charts.
Related Issues (20)
- this.chart.destroyChart is not a function getting this error. whenever i tried it. HOT 2
- Module parse failed: Unexpected token (690:20) HOT 2
- Add Legend to Graph HOT 1
- Add area chart HOT 1
- Add stacked bar chart option HOT 2
- Updating bug : Uncaught TypeError: this.tData[i].values[j] is undefine HOT 1
- Bug: Tooltip Label override does not work
- The word cloud chart does not show Persian and Arabic texts. HOT 1
- Chart data and options can't be dynamic updated HOT 1
- Add Histogram HOT 1
- Tooltip labels don't work with D3 v6 HOT 1
- License HOT 8
- TypeScript typings HOT 1
- dynamic change of outputFormat whithout effect HOT 2
- Unable to get vue-d3-charts to render HOT 1
- Dual axes line bar chart HOT 1
- new release
- Add negative value support for histogram
- Getting formatter issue
- Line chart: Custom string values at x-axis
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 vue-d3-charts.