"Fossies" - the Fresh Open Source Software Archive

Member "opennms-31.0.8/ui/README.md" (9 May 2023, 1434 Bytes) of package /linux/misc/opennms-31.0.8-source.tar.gz:

As a special service "Fossies" has tried to format the requested source page into HTML format (assuming markdown format). Alternatively you can here view or download the uninterpreted source code file. A member file download can also be achieved by clicking within a package contents listing on the according byte size field.

Vue 3 + Typescript + Vite

This template should help get you started developing with Vue 3 and Typescript in Vite.

Build instructions

This project was started with Node v14+ You will also need yarn

To install packages and run dev server

yarn install
yarn dev

Build for prod

yarn build

Vuex state management

This project uses Vuex with the modules pattern. Each store module has separate files for state, actions, and mutations. Current convention is to only call actions from components, (no mutations).


Project routes make use of vue-router



Formatting should use the .prettierrc file. For VSCode, install the Prettier extension, go to the IDE Settings and set this formatter to take precedence.

Use <script setup>

<script setup>. To get proper IDE support for the syntax, use Volar.

On serving & routing

The SPA assets are currently hosted on Jetty via the /opennms application.

The SpaRoutingFilter serve up the index.html page for URLs that do not refer to project assets.