unplugin-icons icon indicating copy to clipboard operation
unplugin-icons copied to clipboard

Vue 3 @vue/compiler-sfc peer dependency no longer needed?

Open peteruithoven opened this issue 3 years ago • 1 comments

The Frameworks section of the readme contains a part about Vue 3, where it says:

Vue 3 support requires peer dependency @vue/compiler-sfc

But looking into @vue/compiler-sfc's readme it now states:

Note: as of 3.2.13+, this package is included as a dependency of the main vue package and can be accessed as vue/compiler-sfc. This means you no longer need to explicitly install this package and ensure its version match that of vue's. Just use the main vue/compiler-sfc deep import instead.

3.2.13 was released 4 months ago, see: https://www.npmjs.com/package/vue?activeTab=versions

I'm not 100% sure what this means though, maybe from 3.2.13+ adding this peer dependency is no longer needed?

peteruithoven avatar Jan 24 '22 13:01 peteruithoven

Yes. PR weclome

antfu avatar Jan 24 '22 15:01 antfu