Skip to content
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

请问怎么修改字体 #25

Closed
timinGo opened this issue Aug 30, 2018 · 5 comments
Closed

请问怎么修改字体 #25

timinGo opened this issue Aug 30, 2018 · 5 comments

Comments

@timinGo
Copy link

timinGo commented Aug 30, 2018

在stylesheet里面修改了没有反应

@tvr17
Copy link

tvr17 commented Aug 30, 2018

修改stylesheet然后在根目录下运行webpack
只修改stylesheet,main没有重新生成,不会产生效果

@timinGo
Copy link
Author

timinGo commented Aug 30, 2018

@tvr17
抱歉没进行过前端开发不太了解这个方面的内容,我尝试运行了webpack,却发现无法运行
WARNING in configuration
The 'mode' option has not been set, webpack will fallback to 'production' for this value. Set 'mode' option to 'development' or 'production' to enable defaults for each environment.
You can also set it to 'none' to disable any default behavior. Learn more: https://webpack.js.org/concepts/mode/

ERROR in ./src/visual.js
Module not found: Error: Can't resolve 'd3' in '/Users/jiachen/Desktop/smart_city/Historical-ranking-data-visualization-based-on-d3.js-master/src'
@ ./src/visual.js 8:0-25 16:19-30 108:16-25 131:17-31 133:17-28 135:17-31 137:19-31 142:18-31 149:18-29 187:16-29 238:31-37 238:61-67 238:90-96 240:30-36 245:65-78 246:65-78 268:88-101 272:32-46 276:47-56 343:28-42 347:43-52 398:80-93 454:20-34 458:35-44

ERROR in ./src/visual.js
Module not found: Error: Can't resolve 'style-loader' in '/Users/jiachen/Desktop/smart_city/Historical-ranking-data-visualization-based-on-d3.js-master'
@ ./src/visual.js 9:0-27

@tvr17
Copy link

tvr17 commented Aug 30, 2018 via email

@timinGo
Copy link
Author

timinGo commented Aug 30, 2018

@tvr17
在mac上,报错不能读取d3跟style-loader,

@meteorlxy
Copy link
Contributor

根目录下npm install

Jannchie added a commit that referenced this issue Sep 1, 2018
修改package.json,增加开发指南 (close #14, #20, #25)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants