tocajossan
tocajossan

Reputation: 41

Cant deploy site on either github pages or netlify. Nuxt2 and Tailwind project

Hello i have build a project in Nuxt2 and Tailwind. But I cant deploy it on github pages or netflify.. Here is my project in guthub https://github.com/Astborg/cocktailappNuxt/

On github pages its just loading..

enter image description here

enter image description here

on netlify it failes; enter image description here

Upvotes: 1

Views: 166

Answers (2)

kissu
kissu

Reputation: 46814

Here is the URL of a hosted app: https://vocal-dusk-d7176e.netlify.app/

Here are my build settings

enter image description here

And here are some changes that I did to your project to have it properly hosted on Netlify: https://github.com/kissu/cocktailappNuxt/blob/main/nuxt.config.js#L3

Upvotes: 1

user7247147
user7247147

Reputation: 1117

Simplest advice for you:

  • Build from main
  • Add an index.html and .nojekyll file in the root
  • Make sure the builds restart and you're page will be up and running.

Upvotes: 0

Related Questions