Hallo,
ich versuche eine Wordpress-Seite (Netcup Hosting 2000) auf eine Nuxt App zu leiten mit folgender .htaccess:
Apache Configuration
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_URI} !^/wp-content/(.*)
RewriteCond %{REQUEST_URI} !^/wp-admin/(.*)
RewriteCond %{REQUEST_URI} !^/wp-includes/(.*)
RewriteCond %{REQUEST_URI} !^/wp-login(.*)
RewriteCond %{REQUEST_URI} !^/wp-json/(.*)
RewriteCond %{REQUEST_URI} !^/_nuxt/(.*)
RewriteCond %{REQUEST_URI} !^/_ipx/(.*)
RewriteRule (.*) /frontend/index.html [L]
RewriteCond %{REQUEST_URI} ^/_nuxt/(.*) [OR]
RewriteCond %{REQUEST_URI} ^/_ipx/(.*)
RewriteRule (.*) /frontend/$1 [L]
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
Alles anzeigen
Beim Laden der Page bekommt ich beim Laden der Ressourcen immer ein:
Failed to load module script: Expected a JavaScript module script but the server responded with a MIME type of "text/html". Strict MIME type checking is enforced for module scripts per HTML spec.
Hat dafür jemand eine Lösung?
Vielen Dank im Voraus!