//jQuery
import './jquery.helpers.js';

//Common
import * as common from './common.js';
window.copyArray = common.copyArray;
window.getElem = common.getElem;
window.setElem = common.setElem;
window.getDragPosition = common.getDragPosition;
window.copyTextToClipboard = common.copyTextToClipboard;
window.getOuterWidth = common.getOuterWidth;

import Css from './../styles/spot.scss';

//Masks
import Spot from './spot.js';
//import Project from './page.project.js';
//import Upload from './page.upload.js';
//import Admin from './page.admin.js';

window.oSpot = new Spot(params);

//let oProject = new Project(oSpot);
//oSpot.addPage('project', oProject);

//let oUpload = new Upload(oSpot);
//oSpot.addPage('upload', oUpload);

//let oAdmin = new Admin(oSpot);
//oSpot.addPage('admin', oAdmin);

//$(() => {oSpot.init();});

import { createApp } from 'vue';
import SpotVue from '../Spot.vue';

const oSpotVue = createApp(SpotVue);
oSpotVue.provide('spot', window.oSpot);	
oSpotVue.mount('#container');