Aurelia CLI - Visual Studio 2017/2019 Tools

#21

Well, beside router, plugins in general, or at least the core plugin like dialog/validation/fetch-client etc… are somewhat always needed every project. Also store is another beast for this scaffolding capability.

#22

Plugins is one of the items I have listed. Not just an arbitrary selection, but a select few available inside the project setup wizard. Think a checkbox list of plugins that can be selected and added prior to final generation.

1 Like
#23

I have downloaded the plugin and tried it and it does work great so far. When is the next update?

1 Like
#24

This is getting nicer. A nice feature will be a data-fetch component with a sample data controller with the fetch/client plugin like @bigopon suggested . Keep it in mind for your probably long list of good to have. :grinning:

3 Likes
#25

@constructor great work!! I’ve been using it to generate file and works really well. One suggestion I’d like to add is adding a route type component, that has the router specific lifecycle methods, which is in addition to the component lifecycle methods. We create those types almost as often as the components. They are canActivate, activate, canDeactivate, and deactivate.

3 Likes
#26

We have an official repo for dotnet tooling.

You can make requests on project templates, item templates, snippets, context menu items, skeletons, cli middleware, and other goodies in there so they will be tracked, considered, and maintained as part of the official Aurelia core.

1 Like
#27

@rkever I will add the component with the lifecycle methods you requested. This will not take long.
I have already expanded the edit sitemap function to work on custom entries and not just selection of predefined sitemaps.

2 Likes
#28

@clmorales Yes, this will be good. There will also be an extra page in the wizard for handling plugins in general.
@tekDom I will update probably tomorrow.

2 Likes
#29

Man, this is awesome. The last, but not least is probably how to do “difficult” integration like 3rd party services: OAuth, SignalR etc you name it.

2 Likes
#30

Maybe by providing project a wizard for specific project types to kickstart and save time, or just the plugin selection page?
As I mentioned earlier, there has been work done on a mobile app template for instance.
This can be supplemented with inline snippets and project items in the usual way.

1 Like
#31

Maybe by providing project a wizard for specific project types to kickstart and save time, or just the plugin selection page?

I personally would go with whatever the easiest way to get it out of the door first :smile:

2 Likes
#32

Yes. I understand. Non of this existed a month ago. There will be a lot more in a months time. Regular updates are important to me. I have used SignalR on multiple projects and it should be simple enough to integrate and provide a template.

1 Like
#33

It’s in amazing shape already, can’t wait to see it in few months time :heart:

2 Likes
#34

The developer should not think about the tools they are using, only the project they are working on. Hopefully, in the end, this will be the case.

2 Likes
#35

I have updated with these changes:

  • Added editing for custom sitemaps with overwrite warning
  • Added requested component for routing ( @rkever )
  • Added a navigation nav-renderer component for multi-level rendered lists from router
  • A few bug fixes

You may notice that in the video I forgot to press the update button when editing. I did not want to re-record the video for that oversight. It works and also provides a warning of altering a previous sitemap.

Still much more to do, but I will update soon. See above post for download and info.

3 Likes
#36

Awesome work @constructor!

3 Likes
#37

WOW WOW WOW! @constructor my man, this is some seriously awesome work. Keep on going.

3 Likes
#38

I just saw this Q https://stackoverflow.com/questions/54750847/how-do-you-add-font-awesome-to-aurelia-using-aurelia-cli-version-1-0-0-beta-13-w, and it’s not the first time I saw similar Q. Maybe we could add it to the scaffolding list

2 Likes
#39

Thanks, I will keep it in mind when addressing the plugins wizard area.

2 Likes
#40

I have updated with these changes:

  • auto configuration for added router-component (pages) and elements
  • navigation renderer fix for ordering
  • custom site map edit
  • workflow and code wrap snippet implementation

The workflow is getting very quick and simple. It is possible to build out site structures very quickly. Adding pages and elements without the need to worry about config (at least this basic type) is nice.

Still much more to do, but I will update soon. See above post for download and info.

3 Likes