We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Using ruby 2.7.3 Rails 6.1.3
I am using d3 but it throws the below error on console -
TypeError: setting getter-only property "format" using Ie https://d3js.org/d3.v4.min.js:2 https://d3js.org/d3.v4.min.js:2 https://d3js.org/d3.v4.min.js:2 https://d3js.org/d3.v4.min.js:2
On the view page, I have added the below code -
<script src="https://d3js.org/d3.v4.min.js"> </script> <%= javascript_pack_tag "home/index" %>*
Below line added app/javascript/packs/application.js -
import * as d3 from "d3" window.d3 = d3
Please give suggestions on these.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Using ruby 2.7.3 Rails 6.1.3
I am using d3 but it throws the below error on console -
TypeError: setting getter-only property "format" using
Ie https://d3js.org/d3.v4.min.js:2
https://d3js.org/d3.v4.min.js:2
https://d3js.org/d3.v4.min.js:2
https://d3js.org/d3.v4.min.js:2
On the view page, I have added the below code -
Below line added app/javascript/packs/application.js -
import * as d3 from "d3"
window.d3 = d3
Please give suggestions on these.
The text was updated successfully, but these errors were encountered: