color-mode icon indicating copy to clipboard operation
color-mode copied to clipboard

has not been wrapped in `defineNuxtPlugin` in Nuxt 3 Rc.6

Open leosin opened this issue 1 year ago • 2 comments

Version

@nuxtjs/color-mode: 3.1.4 nuxt: 3.0.0-rc.6

Reproduction Link

Steps to reproduce

What is Expected?

[warn] [nuxt] You are using a plugin that has not been wrapped in `defineNuxtPlugin`. It is advised to wrap your plugins as in the future this may enable enhancements: default

What is actually happening?

leosin avatar Jul 18 '22 11:07 leosin

Sorry for late answer, do you still have the error?

Atinux avatar Sep 09 '22 08:09 Atinux

Thank you for fixing it, now whether I turn off SSR or not, it's not at warn anymore.
Previously, if I turned off the SSR, it would have this prompt.

Sorry I forgot, I just found out after closing issue, it in the browser's console.

i make a reproduction https://stackblitz.com/edit/nuxt-starter-lhf9h2

test in nuxt 3.0 .Rc9 and color-mode 3.1.5

leosin avatar Sep 09 '22 18:09 leosin