@deliatech/starter-kit
v1.4.0
Published
Delia Technologies Starter Kit Module for nuxt 3
Downloads
17
Readme
@delia/starter-kit
My new Nuxt module for doing amazing things.
Features
- Authentication Authentik
- Tailwind config
Quick Setup
Install the module to your Nuxt application
npm i @delia/starter-kitSet environnement in .env next to your nuxt.config.ts
- NUXT_SESSION_PASSWORD="PASSWORD_A_MODIFIER"
- NUXT_OAUTH_AUTHENTIK_CLIENT_ID="CLIENT_ID_A_MODIFIER"
- NUXT_OAUTH_AUTHENTIK_CLIENT_SECRET="CLIENT_SECRET_A_MODIFIER"
- NUXT_OAUTH_AUTHENTIK_DOMAIN="authentik.app.delia.tech"
In nuxt.config.ts add:
auth?: {
superusers?: AuthRole[]
roles?: AuthRole[]
defaultRole?: string
}For autocompletion of tailwindcss classes add this in your .vscode/settings.json
{
...
"tailwindCSS.experimental.configFile": "node_modules/@deliatech/starter-kit/dist/runtime/assets/css/main.css"
...
}That's it! You can now use @delia/starter-kit in your Nuxt app ✨
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
# Run ESLint
npm run lint
# Run Vitest
npm run test
npm run test:watch
# Release new version
npm run release