mirror of
https://github.com/Drop-OSS/drop-base.git
synced 2025-11-09 20:12:16 +10:00
fix(cleanup): remove app.vue and clear nuxt.config.ts of options
This commit is contained in:
27
app.vue
27
app.vue
@ -1,27 +0,0 @@
|
|||||||
<template>
|
|
||||||
<ModalStack />
|
|
||||||
</template>
|
|
||||||
|
|
||||||
<script setup lang="ts">
|
|
||||||
onMounted(() => {
|
|
||||||
createModal(
|
|
||||||
ModalType.Confirmation,
|
|
||||||
{
|
|
||||||
title: "Are you sure?",
|
|
||||||
description:
|
|
||||||
"Are you sure you want to complete this action? It may have unintended side effects.",
|
|
||||||
},
|
|
||||||
async (event, close) => {
|
|
||||||
switch (event) {
|
|
||||||
case "confirm":
|
|
||||||
await new Promise((r) => setTimeout(r, 3000));
|
|
||||||
close();
|
|
||||||
break;
|
|
||||||
case "cancel":
|
|
||||||
close();
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
);
|
|
||||||
});
|
|
||||||
</script>
|
|
||||||
@ -1,6 +1,2 @@
|
|||||||
// https://nuxt.com/docs/api/configuration/nuxt-config
|
// https://nuxt.com/docs/api/configuration/nuxt-config
|
||||||
export default defineNuxtConfig({
|
export default defineNuxtConfig({});
|
||||||
devtools: { enabled: true },
|
|
||||||
modules: ["@nuxtjs/tailwindcss"],
|
|
||||||
ssr: false,
|
|
||||||
});
|
|
||||||
|
|||||||
@ -13,7 +13,6 @@
|
|||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@nuxt/eslint": "latest",
|
"@nuxt/eslint": "latest",
|
||||||
"@nuxtjs/tailwindcss": "6.12.2",
|
|
||||||
"eslint": "^9.17.0",
|
"eslint": "^9.17.0",
|
||||||
"nuxt": "^3.14.1592",
|
"nuxt": "^3.14.1592",
|
||||||
"typescript": "^5.7.2",
|
"typescript": "^5.7.2",
|
||||||
|
|||||||
@ -1,9 +0,0 @@
|
|||||||
/** @type {import('tailwindcss').Config} */
|
|
||||||
export default {
|
|
||||||
content: [],
|
|
||||||
theme: {
|
|
||||||
extend: {},
|
|
||||||
},
|
|
||||||
plugins: [],
|
|
||||||
}
|
|
||||||
|
|
||||||
Reference in New Issue
Block a user