It's inspired by the socket.io homepage, weighing only 2kb.
$ npm install --save vue-windows
<template>
<div id="app">
<editor-window title="my window">
editor window body
</editor-window>
<browser-window url="http://example.com">
browser window body
</browser-window>
</div>
</template>
<script>
import {EditorWindow, BrowserWindow} from 'vue-windows'
export default {
components: {
EditorWindow,
BrowserWindow
}
}
</script>
<style src="vue-windows/dist/vue-windows.css"></style>
Component: EditorWindow
Type: string
7BDE
code>
Required: true
Component: BrowserWindow
Type: string
Required: true
Component: All
Type: number
Default: 500
Component: All
Type: number
Default: 340
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature
- Commit your changes:
git commit -am 'Add some feature'
- Push to the branch:
git push origin my-new-feature
- Submit a pull request :D
# build umd and example with vbuild
$ npm install -g vbuild
# run example
$ npm run dev
# build example
$ npm run build:example
# build umd, compress
$ npm run build