Nuxt logger for doing amazing things.
Pretty logging.
Install the module to your Nuxt application with one command:
npx nuxi module add @nasontech/nuxt-logger
That's it! You can now use useLogger
in your Nuxt app in both client and server ✨
const logger = useLogger()
logger.info('Hello world!')
Local development
# Install dependencies
npm install
# Generate type stubs
npm run dev:prepare
# Develop with the playground
npm run dev
# Build the playground
npm run dev:build
# Run ESLint
npm run lint
# Run Vitest
npm run test
npm run test:watch
# Release new version
npm run release