The "Hello from Nuxt!๐" application is just a starter to show a minimalist Nuxt app.
Clone this repository:
https://github.com/abdounikarim/poc-nuxt
Go on the project root folder:
cd poc-nuxt/
Execute this command to launch docker container in dev:
docker compose -f docker/compose.yaml up -d --build
Install JavaScript dependencies:
docker compose -f docker/compose.yaml exec node pnpm install
There's no need to configure anything before running the application. There are 2 different ways of running this application depending on your needs:
Option 1. Run the application in dev mode
Start the application using the nuxt server:
docker compose -f docker/compose.yaml exec node pnpm run dev
Then access the application in your browser at the given URL (http://localhost:8000 by default).
Option 2. Run the application in prod mode
docker compose -f docker/compose.yaml exec node pnpm run build
You now have your fresh JavaScript files for production ๐. You can check everything is OK by opening the http://localhost:8000/dist/index.html link and navigate on your application.
Install Cypress dependencies:
docker compose -f docker/compose.yaml exec node pnpm cypress install
Execute this command to run tests:
docker compose -f docker/compose.yaml exec node pnpm cypress run