diff --git a/Template/App.vue b/Template/App.vue new file mode 100644 index 0000000..4c95eaa --- /dev/null +++ b/Template/App.vue @@ -0,0 +1,46 @@ + + + + + + Welcome to Imperial Visualisations! + Your project, {{projectName}} has succesfully been set up using the NodeJS template! + + + + + + + + + I am in a toggle hotspot + + + + I am in a fixed hotspot + + + + + + + + + \ No newline at end of file diff --git a/Template/main.js b/Template/main.js new file mode 100644 index 0000000..93871f7 --- /dev/null +++ b/Template/main.js @@ -0,0 +1,8 @@ +import Vue from "vue"; +import ImpVisLib from "../src/main.js"; +import App from "./App.vue"; +Vue.use(ImpVisLib); +Vue.config.productionTip= false; +new Vue({ + render:h=>h(App) +}).$mount('#app'); \ No newline at end of file diff --git a/package.json b/package.json index 51937b5..65ca8bc 100644 --- a/package.json +++ b/package.json @@ -12,7 +12,8 @@ "docs:dev": "vuepress dev docs", "docs:build": "vuepress build docs", "examples:tabs": "vue-cli-service serve ./Examples/Examples_Tabs.js", - "examples:dragdrop": "vue-cli-service serve ./Examples/SVGDragAndDrop.js" + "examples:dragdrop": "vue-cli-service serve ./Examples/SVGDragAndDrop.js", + "template": "vue-cli-service serve ./Template/main.js" }, "dependencies": { "compare-versions": "^3.6.0",
Your project, {{projectName}} has succesfully been set up using the NodeJS template!