# Veu.js inside Slim

**URL:** <https://discourse.slimframework.com/t/veu-js-inside-slim/3840>\
**Category:** Questions\
**Created:** [February 7, 2020, 9:47am UTC](https://discourse.slimframework.com/t/veu-js-inside-slim/3840 "2020-02-07T09:47:20Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![FvsJson](https://avatars.discourse-cdn.com/v4/letter/f/e99b99/32.png) [@FvsJson](https://discourse.slimframework.com/u/FvsJson)\
**Post date:** [February 7, 2020, 9:47am UTC](https://discourse.slimframework.com/t/veu-js-inside-slim/3840/1 "2020-02-07T09:47:20Z")

</div>

Hi guys,

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

---

<div class="post-metadata">

**Author:** ![odan](https://avatars.discourse-cdn.com/v4/letter/o/9de053/32.png) [@odan](https://discourse.slimframework.com/u/odan)\
**Post date:** [February 7, 2020, 11:04pm UTC](https://discourse.slimframework.com/t/veu-js-inside-slim/3840/2 "2020-02-07T23:04:22Z")

</div>

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](https://webpack.js.org/)
2. [slim/twig-view](https://github.com/slimphp/Twig-View)
3. [fullpipe/twig-webpack-extension](https://odan.github.io/2019/09/21/slim4-compiling-assets-with-webpack.html#twig-webpack-extension-setup)

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

---

<div class="post-metadata">

**Author:** ![FvsJson](https://avatars.discourse-cdn.com/v4/letter/f/e99b99/32.png) [@FvsJson](https://discourse.slimframework.com/u/FvsJson)\
**Post date:** [February 8, 2020, 6:26am UTC](https://discourse.slimframework.com/t/veu-js-inside-slim/3840/3 "2020-02-08T06:26:11Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![tj\_gumis](https://avatars.discourse-cdn.com/v4/letter/t/c89c15/32.png) [@tj\_gumis](https://discourse.slimframework.com/u/tj_gumis)\
**Post date:** [November 4, 2020, 12:00am UTC](https://discourse.slimframework.com/t/veu-js-inside-slim/3840/4 "2020-11-04T00:00:19Z")

</div>

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