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

第6天的代码,解析css文件,浏览器看到的内容和css文件内容不一致? #22

Closed
dafa168 opened this issue Oct 23, 2020 · 2 comments

Comments

@dafa168
Copy link

dafa168 commented Oct 23, 2020

golang版本 1.14.10 .

test.css 文件内容是:

body{background-color: aquamarine}

浏览器解析出来的css内容是: {"filepath":"css/test.css"}

@geektutu
Copy link
Owner

可以贴一下你的 main.go 么, filepath 是内部实现的逻辑,内部解析出来的参数。你可以直接运行day6 中的 main.go 看看有没有问题。

@dafa168
Copy link
Author

dafa168 commented Oct 24, 2020

嗯嗯, day6的代码是没问题的,正常加载渲染,我先检查下main.go .

@dafa168 dafa168 closed this as completed Oct 27, 2020
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

2 participants