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

[docs] adding Getting Started example to use JS as entrance #5471

Closed
rogerwang opened this issue Nov 14, 2016 · 2 comments
Closed

[docs] adding Getting Started example to use JS as entrance #5471

rogerwang opened this issue Nov 14, 2016 · 2 comments
Assignees

Comments

@rogerwang
Copy link
Member

There is a common misunderstanding that NW must use HTML as the entrance of the app. This is not true. So we need another example in the "Getting Started" page, demonstrating JS entrance and create the main window from there.

@georgir
Copy link

georgir commented Nov 14, 2016

Is setting main to a js file different from setting node-main?

@rogerwang
Copy link
Member Author

@georgir in the past 'node-main' is supposed to be executed along with the 1st opening window. With 'main' pointing to a JS file, the 1st window is supposed to be opened by the JS file.

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

3 participants