Nuxt Frontend Setup
Nuxt Argon Dashboard PRO json API is a fullstack resource built on top of Bootsrap 5 and Nuxt 3. Build awesome-looking apps with a flexible architecture across a variety of devices and operating systems. Nuxt Argon Dashboard PRO json API is the official Nuxt and json API version of the original Argon Dashboard PRO.
Prerequisites Frontend
The Laravel JSON:API frontend project requires a working local environment with NodeJS version 8.9 or above (8.11.0+ recommended)
- Install Node: https://nodejs.org/(version 8.11.0+ recommended)
- Install NPM:https://www.npmjs.com/get-npm
Getting Started
- Navigate to your Vue Dashboard project folder:
cd your-vue-argon-dashbord-project
- Install project dependencies:
npm install
- Create a new .env file:
cp .env.example .env
BASE_URL
should contain the URL of your Vue Argon Dashboard Project (eg. http://localhost:8080/)API_BASE_URL
should contain the URL of your Laravel JSON:API Project. (eg. http://localhost:3000/api/v1)- Run
npm run dev
to start the application in a local development environment ornpm run build
to build release distributables.
You can also run additional npm tasks such as
npm run build
to build your app for productionnpm run lint
to run linting