generator-portals-clientside
Version:
Generates a SharePoint clientside project skeleton. Brought to you by Skyline's Portals & Collaboration Team.
19 lines (17 loc) • 803 B
JavaScript
var Generator = require('yeoman-generator');
var generator = Generator.extend({
prompting: require("./prompting"),
writing: require("./writing"),
end: function() {
this.log("\nSUCCESS!!")
this.log(`Next Steps:`)
this.log("1. Create the Menu lists")
this.log(" 1a. Add this to /powershell/install.ps1:")
this.log("\tApply-SPOProvisioningTemplate -Path \"ProvisioningSchemas/MenuListSchema.xml\"")
this.log(" 1b. >>npm run spinstall")
this.log('2. Call the create() method')
this.log(`\tcomponents.${this.params.name}.create('#DeltaTopNavigation')`)
this.log(`\tcomponents.${this.params.name}.create('#DeltaTopNavigation', 'https://andrewpetersen.sharepoint.com')`)
},
});
module.exports = generator;