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

use absolute path instead of inline_script for big JS files #75

Open
coolit opened this issue Oct 10, 2019 · 0 comments
Open

use absolute path instead of inline_script for big JS files #75

coolit opened this issue Oct 10, 2019 · 0 comments

Comments

@coolit
Copy link

coolit commented Oct 10, 2019

In case of using scripts = inline_script(include_str!("echarts.min.js")), if the js file gets big, the program becomes SLOW to start.
If we use absolute path to replace <script src="echarts.min.js"></script>, there will be no such problem.

@coolit coolit changed the title support for local JS src in html needed use absolute path instead of inline_script for big JS files Oct 10, 2019
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

1 participant