import Vue from 'vue'
import olMap from '@/index.js'

export const createApp = ({ template = `<bs-map></bs-map>`, methods = {} }) => {
  const $root = document.createElement('div')
  document.body.appendChild($root)
  return new Vue({
    el: $root,
    template,
    methods
  })
}
