-
Notifications
You must be signed in to change notification settings - Fork 20
Great project - general questions / additions #16
Comments
Sorry for the late reply 🙏.
Yes, you should be able to use the Nuxt's
Yes, it looks for the usual Nuxt files inside the
After running
This belongs to user land. You can use dotenv to load the variables and pass them to the frontend using the env property.
You should pass it to the const laravelNuxt = require("laravel-nuxt");
module.exports = laravelNuxt({
// All of your Nuxt config here.
}); This is confusing too, I know... I'd love to change the confusing parts in the v2, but I'm quite busy...
Not sure what the problem is. You can use eslint and editorconfig to standarize the indentation in your own project.
Glad it's working for you! You should be able to upgrade nuxt in your projects directly (without forking laravel-nuxt). |
Thanks for the response @skyrpex , I actually hit a roadblock of some sort and started on my own boilerplate thats working well so far https://github.com/acidjazz/laranuxt A bit more of a simpler setup, i just use the nuxtjs proxy module to route I still am interested on how this project goes so I'll be looking for updates whenever you get time! |
Great project! I use L+N for tons of projects and have two types of production servers so I'd like to look into and test/contribute to this setup since it provides a much simpler solution.
If you'd like to answer these here I can help update your docs and contribute with PR's:
/resources/nuxt
/resources/nuxt
for everything else?components/
andstate/
etc?npm run build
, do i then just need to have nginx or apache run PHP on production setups? does the laravel package just proxy to the static pages?dotenv
then we can share the same .env for both nuxtjs and PHP, maybe allow support to put the nuxt folder in there?I also forked this project and updated all the deps to use nuxtjs v2.3.4, working great so far!
The text was updated successfully, but these errors were encountered: