feat: migrate to @nuxtjs/tailwindcss (#32)

This commit is contained in:
Benjamin Canac
2022-02-11 17:13:09 +01:00
committed by GitHub
parent 1bec8d163c
commit 702abf7a9f
20 changed files with 934 additions and 1056 deletions

View File

@@ -1,5 +1,5 @@
import { defineNuxtPlugin } from '#app'
import { ClipboardPlugin } from '../types/clipboard'
import { ClipboardPlugin } from '../types'
export default defineNuxtPlugin((nuxtApp) => {
function copy (text: string, success: { title?: string, description?: string } = {}, failure: { title?: string, description?: string } = {}) {

View File

@@ -1,7 +1,7 @@
import { nanoid } from 'nanoid'
import { Ref } from 'vue'
import { defineNuxtPlugin, useState } from '#app'
import { ToastNotification, ToastPlugin } from '../types/toast'
import { ToastNotification, ToastPlugin } from '../types'
export default defineNuxtPlugin((nuxtApp) => {
const notifications: Ref<ToastNotification[]> = useState('notifications', () => [])