add some files
This commit is contained in:
parent
e6fdbf7a94
commit
d824da5a39
21
app.vue
Normal file
21
app.vue
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
<template>
|
||||||
|
<div>
|
||||||
|
<MlButton
|
||||||
|
:pt="{
|
||||||
|
root: { class: '' },
|
||||||
|
outer: { class: 'bg-gradient-to-r from-accent1 to-accent2' },
|
||||||
|
inner: { class: 'dark:bg-gradient-to-r bg-white' },
|
||||||
|
}"
|
||||||
|
>
|
||||||
|
Let's talk
|
||||||
|
</MlButton>
|
||||||
|
</div>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<script setup>
|
||||||
|
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<style lang="scss" scoped>
|
||||||
|
|
||||||
|
</style>
|
3
assets/css/main.css
Normal file
3
assets/css/main.css
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
@tailwind base;
|
||||||
|
@tailwind components;
|
||||||
|
@tailwind utilities;
|
@ -1,5 +1,6 @@
|
|||||||
// https://nuxt.com/docs/api/configuration/nuxt-config
|
// https://nuxt.com/docs/api/configuration/nuxt-config
|
||||||
export default defineNuxtConfig({
|
export default defineNuxtConfig({
|
||||||
|
css: ["~/assets/css/main.css"],
|
||||||
modules: ["@nuxtjs/tailwindcss", "@nuxtjs/color-mode", "~/modules/module"],
|
modules: ["@nuxtjs/tailwindcss", "@nuxtjs/color-mode", "~/modules/module"],
|
||||||
compatibilityDate: "2024-04-03",
|
compatibilityDate: "2024-04-03",
|
||||||
devtools: { enabled: true },
|
devtools: { enabled: true },
|
||||||
|
@ -1,10 +1,6 @@
|
|||||||
import type { SpinnerSize, SpinnerColor } from '../Spinner/types';
|
|
||||||
|
|
||||||
export type ButtonProps = {
|
export type ButtonProps = {
|
||||||
rounded?: boolean;
|
rounded?: boolean;
|
||||||
pt?: PTAttribs;
|
pt?: PTAttribs;
|
||||||
spinerSize?: SpinnerSize;
|
|
||||||
spinerColor?: SpinnerColor;
|
|
||||||
spinerPlace?: spinerPlace;
|
spinerPlace?: spinerPlace;
|
||||||
showSpiner?: boolean;
|
showSpiner?: boolean;
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user