No description
- Vue 90.4%
- TypeScript 8.7%
- JavaScript 0.5%
- Nix 0.2%
- Dockerfile 0.2%
|
|
||
|---|---|---|
| .forgejo/workflows | ||
| .husky | ||
| .storybook | ||
| .vscode | ||
| playground | ||
| src | ||
| .dockerignore | ||
| .editorconfig | ||
| .envrc | ||
| .gitignore | ||
| .npmrc | ||
| .nuxtrc | ||
| devenv.lock | ||
| devenv.nix | ||
| devenv.yaml | ||
| Dockerfile | ||
| eslint.config.mjs | ||
| package.json | ||
| pnpm-lock.yaml | ||
| README.md | ||
| sonar-project.properties | ||
| tsconfig.json | ||
Vue 3 Components
Quick Setup
- Log to NPM registry
npm config set -g -- '//git.deditoolbox.fr/api/packages/mlcsthor/npm/:_authToken' "[personal_access_token]"
- Configure this registry in the file
.npmrcof your project
@mlcs:registry=https://git.deditoolbox.fr/api/packages/mlcsthor/npm/
- Add
@mlcs/vue-componentsdependency to your project
yarn add @mlcs/vue-components
- Add
@mlcs/vue-componentsto themodulessection ofnuxt.config.ts
export default defineNuxtConfig({
modules: ['@mlcs/vue-components']
})
That's it! You can now use @mlcs/vue-components in your Nuxt app ✨
Development
# Install dependencies
yarn install
# Generate type stubs
yarn dev:prepare
# Develop with the playground
yarn dev
# Build the playground
yarn dev:build
# Run ESLint
yarn lint
# Run Vitest
yarn test
yarn test:watch
# Release new version
yarn release