Closed retedys closed 4 years ago
Apparently, Cordova (or maybe even Capacitor in this case), do not properly process /_nuxt/
files and nuxt builds into _nuxt.
FYI: https://github.com/nuxt/nuxt.js/issues/168
Solution is to modify the nuxt.config.js
to reflect like this:
module.exports = {
//...
build: {
//...
publicPath: '/nuxt/',
//...
}
//...
}
Android Studio by default doesn't copy folders that start by _
You can configure it to copy them, see https://github.com/ionic-team/capacitor/issues/1750#issuecomment-511785165
Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Capacitor, please create a new issue and ensure the template is fully filled out.
Bug Report
Capacitor Version
Platform
Android
Current Behavior
http://localhost/_nuxt/*
filesBut if I run it without any server options, the app won't run at all. Following is the debug log and I've been stuck here since hours. Please help.
Expected Behavior
Code Reproduction
Other Technical Details
npm --version
output: 6.11.2node --version
output: v10.15.3Additional Context