Veu.js inside Slim

Hi guys,

Has anyone tried adding Vue.js inside their slim 4 project? Like what you can do in Laravel.

I have tried Vue and Svelte with Slim 4. What is your specific question?

In Laravel you have “Mix” to build assets with webpack.

For your Slim application you could use/ combine the following components:

  1. webpack
  2. slim/twig-view
  3. fullpipe/twig-webpack-extension

If you have only one entry point then you may not need the twig-webpack-extension.

1 Like

I’m leaning more to the way of components inside a page.

Once again I owe you :smile:. Works like a charm. As always …

1 Like