GithubHelp home page GithubHelp logo

Comments (13)

ralphwilliams avatar ralphwilliams commented on August 28, 2024 2

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

from generator-dnn.

mtrutledge avatar mtrutledge commented on August 28, 2024 2

@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.

from generator-dnn.

mtrutledge avatar mtrutledge commented on August 28, 2024 2

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.

from generator-dnn.

mtrutledge avatar mtrutledge commented on August 28, 2024 1

from generator-dnn.

david-poindexter avatar david-poindexter commented on August 28, 2024 1

@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

from generator-dnn.

david-poindexter avatar david-poindexter commented on August 28, 2024 1

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

from generator-dnn.

valadas avatar valadas commented on August 28, 2024 1

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...

from generator-dnn.

david-poindexter avatar david-poindexter commented on August 28, 2024

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

from generator-dnn.

wesfincher avatar wesfincher commented on August 28, 2024

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.

from generator-dnn.

mtrutledge avatar mtrutledge commented on August 28, 2024

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.

from generator-dnn.

wesfincher avatar wesfincher commented on August 28, 2024

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.

from generator-dnn.

wesfincher avatar wesfincher commented on August 28, 2024

@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.

from generator-dnn.

mtrutledge avatar mtrutledge commented on August 28, 2024

from generator-dnn.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.