@commoners/windows
v1.0.0-alpha.2
Published
A plugin for spawning multiple windows in your Commoners application
Readme
@commoners/windows
A plugin for spawning multiple windows in your Commoners application
Usage
import windowsPlugin from '@commoners/windows'
export default {
plugins: {
windows: windowsPlugin({
popup: {
src: "popup.html"
window: { width: 500, height: 500 }
}
})
}
}Notes
- The popups inherit from the Commoners configuration
- All properties other than
srcact as overrides to merge with the original configuration. Excludesplugins.
- All properties other than
electron.windowproperty applies to both the Electron and Web windows.
