skyrpex / laravel-nuxt-js

Build a SPA with Laravel and Nuxt.
https://www.npmjs.com/package/laravel-nuxt
MIT License
146 stars 20 forks source link

Costumize builded folder name #3

Closed daemswibowo closed 6 years ago

daemswibowo commented 6 years ago

Can i costumize the name of builded _nuxt folder in public folder ?

skyrpex commented 6 years ago

Yes! Use build.publicPath config option.

Note that you must add a leading slash.

const laravelNuxt = require("laravel-nuxt");

module.exports = laravelNuxt({
    build: {
        publicPath: "/my-assets",
    },
});
daemswibowo commented 6 years ago

Nice! Thanks dude. You are awesome! 👍