Comments (13)
I'll be happy to help with this. I will just need some help getting the project set up.
from generator-dnn.
@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.
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.
from generator-dnn.
@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.
@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.
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.
@mtrutledge can we do the same thing for Angular? See #41
from generator-dnn.
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.
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.
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.
@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.
from generator-dnn.
Related Issues (20)
- Create an Angular option for SPA modules HOT 7
- PDB generated by command line msbuild is not allowing Visual Studio to Debug HOT 4
- Alert the user that a new version of the generator is out using the update-notifier HOT 1
- Ability to add modules to an existing solution HOT 3
- Intellisense errors in views of newly generated module HOT 2
- Build ReactJS SPA Template with gulp HOT 1
- Update from Yeoman-Generator 2.0.5 to 3.1.1 HOT 2
- Upgrade from Gulp 3 to 4 HOT 1
- GHPages/Docs Link on main README.md
- Add GitHub Topics to repo HOT 1
- Update repo Description and README to use optimum keywords HOT 1
- Gulp Scripts Included in Release Build HOT 5
- DNNModuleAuthorize access set to edit by default on template HOT 1
- Upgrade NPM Packages
- RFC: Thoughts on moving to yarn HOT 13
- Sln will not build on Mac Visual Studio. Windows won't Build Client from SLN build HOT 6
- Update docs
- Could not parse JSON in file HOT 1
- Whata does this do? HOT 3
- SPA Module does not generate install.zip file on Install buil HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from generator-dnn.