generator-portals-clientside
Version:
Generates a SharePoint clientside project skeleton. Brought to you by Skyline's Portals & Collaboration Team.
19 lines (16 loc) • 720 B
JavaScript
var Generator = require('yeoman-generator');
var generator = Generator.extend({
prompting: require("./prompting"),
writing: require("./writing"),
end: function() {
this.log("\nSUCCESS!!")
this.log(`Added '${this.params.name}' component and associated .html and .dwp file to /src/webparts`)
this.log("Next Steps:")
this.log("\t1. Add an entry to the bottom of Install.ps1")
this.log(`\tex: AddWebPartsToPage -Page "Pages/Home.aspx" -Components "${this.params.name}" -Zone "TopRight"`)
this.log("\t2. >>npm run build")
this.log("\t3. >>npm run deploy")
this.log("\t3. >>npm run spinstall")
},
});
module.exports = generator;