-
Notifications
You must be signed in to change notification settings - Fork 6
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
Questions about the project structure #26
Comments
One important thing to note is that this is a Single-Page Application, so the contents of the For the For The For package restore, we do actually use the new restore. The reason why |
Great! Thank you very much for the explanations, Tarmil. It is much clearer to me, now. I know WebSharper for a while, but just now I'm having the chance to take a deeper look at it. It's a fantastic piece of work, guys! Congrats! :) |
This project is an excellent resource for new users. However, there are several things that I think should be better explained or refactored.
I tried to browse the topics on http://websharper.com/docs hoping to get some answers, but to no avail. What about to make an article about the build process? ;)
Some questions:
This certainly is not right. Maybe it could be called "app/" or something else? Or, better yet, to move the generated assets to another folder outside "src/" ? ("build/", probably?)
I understand that "src/Content/" should be kept updated during debug time. However, shouldn't the build/ folder have everything needed to run the application, except the sources (e.g. for a "xcopy deploy")?
Also, there is some kind of "registration" procedure for asset files? I mean: some way to tell the build process that these files are needed to deploy?
BTW: WebSharper.UI.Next.Samples.css is always empty (0 bytes). What is it for? How can I add some content to it? At first glance I expected it to have the content of "style.css" and every other .css put in "src/" folder (like several other web frameworks do today).
What is "WebSharper.UI.Next.Samples.head.html" for? I understand the need for separating ".js" and ".head.js". But, why the ".html"?
Any reason to keep the old nuget package restore instead the new one? https://docs.nuget.org/consume/package-restore/migrating-to-automatic-package-restore
The text was updated successfully, but these errors were encountered: