nikushi / minipack

Minipack, a gem for minimalists, which can integrates Rails with webpack. It is an alternative to Webpacker.
MIT License
115 stars 22 forks source link

vue cli implementation ? Asset not found #34

Closed arkhamRejek closed 4 years ago

arkhamRejek commented 4 years ago

I set up my project with Vue CLI 4. Do we have to output our build to the public directory in order for the helpers to work ?

This the command below will start both servers

rails start

my example repo can be found here: https://github.com/arkhamRejek/vue_minipack_example image

it seems like https://github.com/nikushi/minipack/issues/26 is related. I was able to get it working using her solutions at least in development mode.

Is her solution as intended or am i missing something ? i'd also be willing to update the read me and add the example repo for those that might be running into this.

arkhamRejek commented 4 years ago

For anyone using vue cli, please refer to for a working example. https://github.com/arkhamRejek/vue_minipack_example

@nikushi thank you for the great gem.