gc-shared-resources
v1.1.2
Published
Shared resources for Guardian Connector Nuxt.js applications
Downloads
42
Readme
GuardianConnector Shared Resources Library
Shared components (components, pages, assets, middleware and more) for GuardianConnector Nuxt.js applications.
Quick Setup
Install the module to your Nuxt application with one command:
npx nuxi module add gc-shared-resources
That's it! You can now use GuardianConnector Shared Resources Library in your Nuxt app ✨
How to use this module
Unlike many Nuxt modules, this repository does not use a playground/
directory. Instead, this module should be used directly with a GuardianConnector Nuxt application.
For development purposes, utilize a symlink to this module in a Nuxt application to use your local code in runtime:
- Generate type stubs by running
npm run dev:prepare
- In your Nuxt application, run
npm link ../gc-shared-components
(assuming your module and Nuxt application are in the same root directory, if not adapt the path)
Contribution
# 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
# Create a npm symlink
npm run link
# Run Prettier
npm run lint
# Run Vitest
npm run test
npm run test:watch
# Release new version
npm run release