Setup Minton Vue Nuxt JS
Prerequisites
Please follow below steps to install and setup all prerequisites:
-
Nodejs
Make sure to have the Node.js installed & running in your computer. If you already have installed Node on your computer, you can skip this step if your existing node version is greater than 10.
-
Yarn
Make sure to have the Yarn installed & running in your computer. If you already have installed yarn on your computer, you can skip this step.
-
Git
Make sure to have the Git installed globally & running on your computer. If you already have installed git on your computer, you can skip this step.
Installation
To setup the admin theme, follow below-mentioned steps:
-
Install Prerequisites
Make sure to have all above prerequisites installed & running on your computer.
After you finished with the above steps, you can run the following commands to run the project locally or build for production use:
| Command | Description |
|---|---|
yarn
|
This would install all the required dependencies in
the node_modules folder.
|
yarn dev
|
The development server is accessible at http://localhost:3000/. |
yarn build
|
It will create a production build. |
Multi Language Settings
- Create de.json file with eference to default langiage file and add it to locales folder.
- Go to nuxt.config.js file and add i18n language short form "de" to languages array.
export default ({ app }) => { messages: { de: require("./locales/de.json"), } } - In topbar.vue add new language properties in languages array.
languages = [{ flag: require("~/assets/images/flags/germany.jpg"), language: "de", title: "German", }];