diff --git a/index.html b/index.html index a0434ae..ad9316c 100644 --- a/index.html +++ b/index.html @@ -1,4 +1,10 @@ -
- - - + + + + + + + + + + diff --git a/index.ts b/index.ts deleted file mode 100644 index 0ee0609..0000000 --- a/index.ts +++ /dev/null @@ -1,7 +0,0 @@ -import Vue from 'vue'; - -import App from './App'; - -let app = new Vue({ - render: (h) => h(App), -}).$mount('#app'); diff --git a/package.json b/package.json index 816c9fa..8d8ff02 100644 --- a/package.json +++ b/package.json @@ -7,13 +7,20 @@ "jsbarcode": "^3.11.0", "number-to-words": "^1.2.4", "qrcode": "^1.4.4", - "vue": "^2.6.11", - "vue-hot-reload-api": "^2.3.4", - "vue-property-decorator": "^8.4.0" + "vue": "^3.2.20" }, "devDependencies": { - "@vue/component-compiler-utils": "^3.1.1", - "typescript": "^3.8.3", - "vue-template-compiler": "^2.6.11" + "@types/number-to-words": "^1.2.1", + "@types/qrcode": "^1.4.1", + "@vitejs/plugin-vue": "^1.9.3", + "typescript": "^4.4.4", + "vite": "^2.6.11", + "vue-tsc": "^0.28.8" + }, + "scripts": { + "start": "npm run dev", + "dev": "vite", + "build": "vue-tsc --noEmit && vite build", + "serve": "vite preview" } } diff --git a/App.vue b/src/App.vue similarity index 55% rename from App.vue rename to src/App.vue index b757a3a..1597fc3 100644 --- a/App.vue +++ b/src/App.vue @@ -5,23 +5,27 @@ :asset="asset" :key="asset.id" > -