Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 1,000,000+ packages pre-installed, including lib-pwa-engine with all npm packages installed. Try it out:

require("lib-pintl/package.json"); // lib-pintl is a peer dependency. var libPwaEngine = require("lib-pwa-engine")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

lib-pwa-engine v0.0.9

This is revisied version of AppController from current template-pwa, this is the interface which available for [shell's manifest](#manifest). AppController #### mountLang(shellName) + `shellName` <[String]> + returns <[Promise]> #### mountTemplate(shellName, templateName) + `shellName` <[String]> + `templateName` <[String]> - template name described in shell's index.js + returns <[Promise]> #### localizeTemplate(shellName) + `shellName` <[String]> + returns <[Promise]> #### unmountTemplate(shellName, templateName) + `shellName` <[String]> + `templateName` <[String]> - template name described in shell's index.js + returns <[Promise]> #### mountScript(shellName, scriptName) + `shellName` <[String]> + `scriptName` <[String]> - filename of js file placed in shell's scripts folder + returns <[Promise]> #### unmountStyle(shellName, styleName) + `shellName` <[String]> + `styleName` <[String]> + returns <[Promise]> #### mountContainer(name, action) + `name` <[String]> + `action` <[Object]> - allowed only if Redux Store option is selected. + returns <[Promise]>

RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free