Skip to content

components-web-app/cwa-nuxt-module

Repository files navigation

CWA Nuxt 3 Module (in development)

codecov

This module is designed to work with the API Component Bundle and will provide a full user-interface and utilities to easily create custom web apps with an advanced in-line content management system

CWA Module in Action

Template using this module for front-end and API Components Bundle for back-end

https://github.com/components-web-app/components-web-app/tree/v3

Template application deployed online

https://cwa-v3-silverback-web-apps.vercel.app/

Development

  • Run pnpm run dev:prepare to generate type stubs.
  • Use pnpm run dev to start playground in development mode.

Linting

  • Run pnpm run lint or pnpm run lint:fix

Testing

We have built in testing using vitest.

  • To run tests as a one-off use pnpm run test
  • To include coverage run pnpm run test:coverage
  • To run tests in watch mode during development run pnpm run test:watch
  • If you want to check coverage updates at the same time as watching for file changes you can run pnpm run test:watch:coverage

Test coverage for branch feat/manager-tabs

Codecov sunburst image