Skip to content

Commit

Permalink
Adding the vuetify stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
purejgleason committed Sep 26, 2022
1 parent 728354c commit 8cba0a4
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 1 deletion.
3 changes: 3 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
<html>
<head>
<title>Caw Caw</title>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/vuetify.min.css" />

</head>
<body>
<h1>This is a test</h1>
<div id="app"></div>
<script src="https://unpkg.com/vue@3/dist/vue.global.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/vuetify.min.js"></script>
<script type="module" src="src/index.mjs"></script>
</body>
</html>
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"author": "Jackie Gleason",
"license": "MIT",
"devDependencies": {
"@vitejs/plugin-vue": "^3.1.0",
"@vitejs/plugin-vue": "latest",
"vite": "latest"
}
}
3 changes: 3 additions & 0 deletions src/App.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
<template>
<h1>Now Vue is working</h1>
<v-app>
<v-btn>Test button</v-btn>
</v-app>
</template>
<script setup>
</script>
4 changes: 4 additions & 0 deletions src/index.mjs
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
import App from "./App.vue";
const { createApp } = Vue;
const { createVuetify } = Vuetify

const vuetify = createVuetify()

createApp(App)
.use(vuetify)
.mount('#app');

0 comments on commit 8cba0a4

Please sign in to comment.