Closed renyaoxiang closed 6 years ago
The tutorials are located at dojo.io/tutorials.
Is there anything missing there you would expect to help you get started?
Question answered, closing.
@kitsonk Thank you any way.
@renyaoxiang did the link to the tutorials not help you?
Dear @kitsonk Not all. In my case, I would like to use dojo2 sometimes together with react, I found it a bit heavy as said in the tutorials, as it seems that I have to install @dojo/cli. Also I could understand not at all about the @theme in dojo2, while I would like to have a separate less file to gather all styles by browerify, not by webpack, it may occur a error and I have no way I think.
Re-opened as @renyaoxiang does not feel the question was answered.
First, you don't need @dojo/cli
to use dojo2. We use dojo2 in a tool chain that doesn't make use of any of the cli
functionality. Based on our experience, @dojo/cli
is there to help you get started (and supply a tool chain), but it's not any kind of requirement. If you pull the dojo2 packages from npm, you can use them pretty much as you'd use any other js package.
As for using dojo2, I've found it a lot simpler to include "as a library" than dojo1. We use webpack, so there may be complexities with using it in browserify, but I'd be surprised if dojo2 wasn't still easier to set up and use.
By the way, I'm a dojo2 user and not a committer.
Dear @bitranch Thank you very much, now I have no puzzlement.
Thank you @bitranch
I would like to use it as a library. I did not find a guide or tutorial. Pleasure to have your some suggestion.