derekphilipau / laravel-5.5-coreui-vue-separated

A clean install of Laravel 5.5 with CoreUI VueJS
52 stars 20 forks source link

Are you missing a step? #6

Open seatechdev opened 6 years ago

seatechdev commented 6 years ago

Is there an additional step between steps 4 & 5. Looks like in step 4 you update the webpack. But the new directory never gets created under the resources. The instructions are definitely missing some steps and so your version of the repository.

allw1994 commented 6 years ago

I'll second that, just gives me massive errors if I try to continue

allw1994 commented 6 years ago

Found the issue but don't know how to solve it:

  1. Add CoreUI files to Mix In webpack.mix.js:

// Copy over the CoreUI Assets into separate coreui directories var coreui_vendor = 'vendor/mrholek/CoreUI-Vue/Vue_Full_Project'; mix.copyDirectory(coreui_vendor + '/static/img', 'public/static/img') .copyDirectory(coreui_vendor + '/scss', 'resources/coreui/scss') .copyDirectory(coreui_vendor + '/src', 'resources/coreui/src');

mix.js('resources/assets/js/app.js', 'public/js') .sass('resources/assets/sass/app.scss', 'public/css');

This directory doesn't exist and I can't find the named files anywhere inside the directory...

cotton9 commented 6 years ago

Looks like instructions apply to no later than v1.0.10 of coreui and not the "dev-master". I was able to get it working using this:

Step 2

"repositories": [
    {
        "type": "package",
        "package": {
            "name": "mrholek/CoreUI-Vue",
            "version": "v1",
            "dist": {
                "url": "https://github.com/mrholek/CoreUI-Vue/archive/v1.0.10.zip",
                "type": "zip"
            }

        }
    }
],

Then require it as: "mrholek/CoreUI-Vue": "v1"