huang-julien / nuxt-runtime-compiler

A simple module to enable vue runtime bundle on Nuxt 2 and 3
17 stars 2 forks source link

Can I compile a single vue file? #49

Closed JustTestCode closed 1 year ago

JustTestCode commented 1 year ago

Example: https://github.com/FranckFreiburger/vue3-sfc-loader

But it is working on the browser side to compile vue, I think nuxt is rendering on the server side, maybe can ignore this step and build vue file on the server side

huang-julien commented 1 year ago

Hi :wave: this module brings the runtime bundle of vue which includes the template compiler. This does not include the sfc compiler. BTW if you're using this module, this module has been merged into nuxt core as a direct feature.