-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
5 additions
and
42 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -167,7 +167,7 @@ Then you will have to install these packages using npm or yarn package managers: | |
#### Step-by-step installation procedure: | ||
|
||
``` | ||
npx [email protected] init nuxt-front | ||
npx [email protected] init nuxt-frontend | ||
``` | ||
Nuxt configuration: | ||
``` | ||
|
@@ -183,50 +183,13 @@ npm i @mdi/[email protected] | |
npm install [email protected] | ||
npm install [email protected] [email protected] | ||
npm install [email protected] | ||
npm install [email protected] | ||
npm install @pinia/[email protected] | ||
``` | ||
|
||
Open the nuxt-frontend/package.json and add this code at the end: | ||
``` | ||
, | ||
"overrides": { | ||
"vue": "latest" | ||
} | ||
``` | ||
The package.json file should look like: | ||
``` | ||
{ | ||
"name": "nuxt-app", | ||
"private": true, | ||
"scripts": { | ||
"build": "nuxt build", | ||
"dev": "nuxt dev", | ||
"generate": "nuxt generate", | ||
"preview": "nuxt preview", | ||
"postinstall": "nuxt prepare" | ||
}, | ||
"devDependencies": { | ||
"@nuxt/devtools": "latest", | ||
"@types/node": "^18", | ||
"nuxt": "^3.6.2" | ||
}, | ||
"dependencies": { | ||
"@mdi/font": "^7.2.96", | ||
"@pinia/nuxt": "^0.4.11", | ||
"axios": "^1.4.0", | ||
"chart.js": "^4.3.0", | ||
"pinia": "^2.1.4", | ||
"sass": "^1.63.6", | ||
"vue-chartjs": "^5.2.0", | ||
"vue-json-csv": "^2.1.0", | ||
"vuetify": "^3.3.7" | ||
}, | ||
"overrides": { | ||
"vue": "latest" | ||
} | ||
} | ||
``` | ||
|
||
The nuxt environment is ready. | ||
You can then copy / paste all the folders and files from the nuxt-api folder into the nuxt-frontend one, except the .nuxt and the node_modules folders. | ||
You can then copy / paste all the folders and files from the nuxt-api folder into the nuxt-frontend one. | ||
|
||
### Celery | ||
Celery is used to make asynchronous tasks. | ||
|