Skip to content
This repository has been archived by the owner on Sep 1, 2021. It is now read-only.

Commit

Permalink
Merge pull request #194 from bluesky66-dev/issue_187
Browse files Browse the repository at this point in the history
Fixed issue 187
  • Loading branch information
curtisdelicata authored Jul 4, 2021
2 parents ca3e490 + c7c887e commit 1b3fdf8
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 8 deletions.
1 change: 1 addition & 0 deletions nuxt.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -205,5 +205,6 @@ export default {
}
}
},
transpile: ['d3-dag']
}
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,6 @@
"devDependencies": {},
"resolutions": {
"vue": "2.6.14",
"vue-server-renderer": "2.6.12"
"vue-server-renderer": "2.6.14"
}
}
14 changes: 7 additions & 7 deletions pages/pedigree/show.vue
Original file line number Diff line number Diff line change
Expand Up @@ -20,21 +20,21 @@
</div>
</template>
<script>
import * as d3 from 'd3'
import * as d3Base from 'd3'
import * as d3Dag from 'd3-dag'
import d3Tip from 'd3-tip'
import vSelect from 'vue-select'
import Loading from 'vue-loading-overlay'
import 'vue-loading-overlay/dist/vue-loading.css'
const d3Dag = require('d3-dag')
const d3 = Object.assign({}, d3Base, d3Dag)
import gedcom from '@/static/gedcom.json'
d3.tip = d3Tip()
d3.sugiyama = d3Dag.sugiyama
d3.layeringSimplex = d3Dag.layeringSimplex
d3.coordQuad = d3Dag.coordQuad
d3.dagConnect = d3Dag.dagConnect
// d3.sugiyama = d3Dag.sugiyama
// d3.layeringSimplex = d3Dag.layeringSimplex
// d3.coordQuad = d3Dag.coordQuad
// d3.dagConnect = d3Dag.dagConnect
export default {
layout: 'auth',
Expand Down

0 comments on commit 1b3fdf8

Please sign in to comment.