Skip to content

Frontend

All our web projects frontends are made with Vue specifically Nuxt.

Simple vue project

To start a simple vue project it is recommended to use vue init

sh
yarn create vue@latest
npm
sh
npm create vue@latest

Nuxt project

To start a nuxt project it is recommended to use npx create-nuxt-app

sh
npx nuxi@latest init <project name>
sh
? Which package manager would you like to use? Yarn
? Initialize git repository? Yes

Configuration of Typescript in nuxt project.

If you are not yet fluent in typescript it is recommended that in your nuxt.config.ts you change the strict option:

js
export default defineNuxtConfig({
...
    typescript:{
      strict:false,
    },
...
})

When using external packages that may require typings look on NPM for the @types/<package name> package, install and add it to your tsconfig.json:

sh
yarn add -D @types/lodash

then in tsconfig.json :

json
...
    "types": [
      "@nuxt/types",
      "@nuxtjs/axios",
      "@types/node",
      "@types/lodash
    ]
...

Released under the MIT License.