Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

We use in combination the framework Vue and the language Typescript. The team is completed with Tailwind. Here is an example:

...

languagetypescript

...

https://apiida.atlassian.net/wiki/spaces/AACP/pages/8161755137/Coding+Guidelines#Vue

For storage we use Pinia.

Code Block
languagetypescript
import { defineStore } from 'pinia';
import Plan from '../types/configuration/Plan';

const planStore = defineStore({
  id: 'plan',
  state: () => ({
    plans: [] as Plan[],
  }),
});

export default planStore;

...