yyx990803 / laravel-vue-cli-3

Example project using Vue CLI 3 with Laravel

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Output Dir

marcnewton opened this issue · comments

Windows 10
NPM 6.4.1
Node 10.14.1
Vue 3.2.1

When outputDir is set to ../public as stated in the README.md file, The production build does not generate the Laravel blade file, instead the outputDir must be set to public for it to work...

Does not work:

    outputDir: '../public',
    indexPath: process.env.NODE_ENV ? '../resources/views/index.blade.php' : 'index.html'

Does Work:

    outputDir: 'public',
    indexPath: process.env.NODE_ENV ? '../resources/views/index.blade.php' : 'index.html'

Is anybody else experiencing relative path issue on other platforms?