mtrutledge / generator-dnn

Yeoman generator to scaffold DNN / DotNetNuke Modules and Themes.
MIT License
17 stars 10 forks source link

Create a VueJS option for the SPA Modules #36

Open mtrutledge opened 5 years ago

mtrutledge commented 5 years ago

During the Southern Fried DNN call on 7/19/2018 a suggestion was made to have VueJS as a option for the SPA modules. I think this is a great idea!

ralphwilliams commented 5 years ago

I'll be happy to help with this. I will just need some help getting the project set up.

mtrutledge commented 5 years ago

@ralphwilliams I have put out some contribution documentation and I am moving items around in the SPA/templates directory structure so you can add the VueJS template easily. I will post more once I have the development branch updated with the directory structure changes.

mtrutledge commented 5 years ago

Ok I have updated the development branch to include a new structure under the SPA folder. A yeoman generator lives under the generators folder and has a template. Once you select a generator it runs index.js. So during the initial prompt when I ask the user what type of module they want to generate when they select SPA the index.js in generator-dnn/generators/spa/ is executed. If you look on the development branch I added some placeholder prompts in generator-dnn/generators/spa/index.js. ReactJS is active and VueJS is currently disabled. Essentially you will add a new folder called VueJS under generator-dnn/generators/spa/ and then will put all the necessary template files in there. You will then need to alter generator-dnn/generators/spa/index.js to copy the necessary files.

david-poindexter commented 5 years ago

@mtrutledge can we do the same thing for Angular? See #41

mtrutledge commented 5 years ago

Absolutely

On Aug 1, 2018, at 3:15 PM, nvisionative notifications@github.com wrote:

@mtrutledge https://github.com/mtrutledge can we do the same thing for Angular? See #41 https://github.com/mtrutledge/generator-dnn/issues/41 — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/mtrutledge/generator-dnn/issues/36#issuecomment-409725855, or mute the thread https://github.com/notifications/unsubscribe-auth/ACCJ_gzKwm5XNtTvApcJpfcne_x7DojYks5uMhpngaJpZM4VXRQV.

wesfincher commented 2 years ago

Curious if any movement has been made on the VueJs addition? There's a number of forks that I've found so unsure which is the most recent iteration of this repo.

mtrutledge commented 2 years ago

I haven't worked on this tool in a while. I would like to get back to it, but I wasn't really receiving any pull requests from the community either, so I wasn't sure how effective or useful this tool was.

wesfincher commented 2 years ago

Yeah, I imagine that kills one's motivation...I only recently discovered yeoman so I'm not sure how I could help out at this point. I'll give it a go locally.

david-poindexter commented 2 years ago

@wesfincher in addition to this tool, you may want to also check out https://github.com/UpendoVentures/generator-upendodnn (which is actively maintained). It follows a different project structure, but maybe that will fit your preferences as well.

Lastly, there is a fantastic Visual Studio template that would also accommodate a VueJS module. This is honestly our "go to" solution these days for creating DNN modules. https://github.com/valadas/Eraware_Dnn_Templates

wesfincher commented 2 years ago

@david-poindexter - Thanks for the advice. I tried the upendodnn but the VueJS option is disabled when I use the npm package :-(

Unrelated, how are folks doing Continuous Deployment in DNN? We've been using the PolyDeploy to deploy multiple modules at once, and have looked at (but not tried) the DeployClient (https://github.com/DNNCommunity/PolyDeploy/tree/develop/DeployClient). If we could get to true CD I would be forever grateful.

david-poindexter commented 2 years ago

@wesfincher you are welcome. You may want to check out https://dnncommunity.org/forums/aft/79 regarding the use of PolyDeploy for CI/CD.

mtrutledge commented 2 years ago

@wesfincher I use PolyDeploy and the DeployClient to deploy the packages. I use Octopus Deploy to coordinate the deployments between my environments.

On Thu, Jan 20, 2022 at 11:10 AM David Poindexter @.***> wrote:

@wesfincher https://github.com/wesfincher you are welcome. You may want to check out https://dnncommunity.org/forums/aft/79 regarding the use of PolyDeploy for CI/CD.

— Reply to this email directly, view it on GitHub https://github.com/mtrutledge/generator-dnn/issues/36#issuecomment-1017781310, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAQIT7S5HXVQWABSWWM5PLDUXBFZ5ANCNFSM4FK5CQKQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you were mentioned.Message ID: @.***>

valadas commented 2 years ago

If you like https://github.com/valadas/Eraware_Dnn_Templates and need a had getting Vue working in it, feel free to ping me. I have used Vue once to give it a try but it should just be a matter of getting the starter template in the Module.Web replacing most of what is there.

And yeah, I have been using Polydeploy too, when I have some time I would like to revamp some of the UI there and make the command-line a dotnet-tool on nuget to help even more with CI/CD pipelines. Right now you need to have the cli executable committed in the repo... But I do have a working pipeline if you need help with that too...