https://github.com/lennetech/nuxt-base
https://github.com/lennetech/nuxt-base
Last synced: 10 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/lennetech/nuxt-base
- Owner: lenneTech
- Created: 2023-03-18T16:14:27.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-12-10T14:12:07.000Z (over 1 year ago)
- Last Synced: 2024-12-20T09:08:14.747Z (over 1 year ago)
- Language: TypeScript
- Size: 3.6 MB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
# @lenne.tech/nuxt-base
[![npm version][npm-version-src]][npm-version-href]
[![npm downloads][npm-downloads-src]][npm-downloads-href]
[![License][license-src]][license-href]
[![Nuxt][nuxt-src]][nuxt-href]
@lenne.tech/nuxt-base had some amazing features for easy initialize nuxt applications.
- [✨ Release Notes](/CHANGELOG.md)
## Features
- GraphQL codegen
- Easy graphql syntax
## Quick Setup
1. Add `@lenne.tech/nuxt-base` dependency to your project
```bash
# Using npm
npm install -D @lenne.tech/nuxt-base
# Using yarn
yarn add --dev @lenne.tech/nuxt-base
# Using npm
npm install --save-dev @lenne.tech/nuxt-base
```
2. Add `@lenne.tech/nuxt-base` to the `modules` section of `nuxt.config.ts`
```js
export default defineNuxtConfig({
modules: [
'@lenne.tech/nuxt-base'
]
})
```
That's it! You can now use @lenne.tech/nuxt-base in your Nuxt app ✨
## Development
```bash
# 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
```
[npm-version-src]: https://img.shields.io/npm/v/@lenne.tech/nuxt-base/latest.svg?style=flat&colorA=18181B&colorB=28CF8D
[npm-version-href]: https://npmjs.com/package/@lenne.tech/nuxt-base
[npm-downloads-src]: https://img.shields.io/npm/dm/@lenne.tech/nuxt-base.svg?style=flat&colorA=18181B&colorB=28CF8D
[npm-downloads-href]: https://npmjs.com/package/@lenne.tech/nuxt-base
[license-src]: https://img.shields.io/npm/l/@lenne.tech/nuxt-base.svg?style=flat&colorA=18181B&colorB=28CF8D
[license-href]: https://npmjs.com/package/@lenne.tech/nuxt-base
[nuxt-src]: https://img.shields.io/badge/Nuxt-18181B?logo=nuxt.js
[nuxt-href]: https://nuxt.com