mirror of
https://github.com/Drop-OSS/drop-base.git
synced 2025-11-09 20:12:16 +10:00
Compare commits
2 Commits
1694de4e89
...
01fd41c65a
| Author | SHA1 | Date | |
|---|---|---|---|
| 01fd41c65a | |||
| 80674ef87d |
@ -1,15 +0,0 @@
|
|||||||
import { fileURLToPath } from 'node:url'
|
|
||||||
|
|
||||||
export default defineNuxtConfig({
|
|
||||||
extends: ['..'],
|
|
||||||
modules: ['@nuxt/eslint'],
|
|
||||||
|
|
||||||
eslint: {
|
|
||||||
config: {
|
|
||||||
// Use the generated ESLint config for lint root project as well
|
|
||||||
rootDir: fileURLToPath(new URL('..', import.meta.url))
|
|
||||||
}
|
|
||||||
},
|
|
||||||
|
|
||||||
compatibilityDate: '2024-12-24'
|
|
||||||
})
|
|
||||||
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: [],
|
|
||||||
}
|
|
||||||
|
|
||||||
@ -1,3 +0,0 @@
|
|||||||
{
|
|
||||||
"extends": "./.playground/.nuxt/tsconfig.json"
|
|
||||||
}
|
|
||||||
Reference in New Issue
Block a user