New World Frontend Order - how Codeigniter fit in a javascript frontend world? |
Hello, another question, I couldn't split the nuxts files in any way (I wanted to put assets in public/ and index.html in app/Views/), so I resorted to put everything in public and then, instead of loading the view, I did "include_once FCPATH.'nuxt-static/route/index.html'" which is ugly. is this the only way or I'm missing something?
Bonus question: it is just me or nuxt.config.js has even problems with modes? I had to do this ugly thing otherwise I wouldn't be able to "npm run dev" (many 404 errors) Code: publicPath: process.env.NODE_ENV === 'production' ? '/assets/' : '/_nuxt/', I'm feeling dumb, why everything is so difficult, so cluncky and without a proper documentation? ![]() |
Welcome Guest, Not a member yet? Register Sign In |