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

Node.js 工程的页面静态文件应该按页面路径生成 #14

Closed
huntbao opened this issue May 20, 2016 · 1 comment
Closed

Node.js 工程的页面静态文件应该按页面路径生成 #14

huntbao opened this issue May 20, 2016 · 1 comment

Comments

@huntbao
Copy link
Collaborator

huntbao commented May 20, 2016

目前页面的 js、css 以及 mcss 文件是按页面所引用的模板路径生成的,应该按页面路径生成才合理。

@huntbao
Copy link
Collaborator Author

huntbao commented May 20, 2016

理解有误,应该以模板路径生成才是合理的。

同一个页面地址,可以根据状态返回不同的模板,样式是跟模板走,而不是跟页面访问地址走。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant