Socket
Book a DemoInstallSign in
Socket

@mathix420/nuxt-layer

Package Overview
Dependencies
Maintainers
0
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@mathix420/nuxt-layer

3.0.1
latest
npmnpm
Version published
Maintainers
0
Created
Source

Opinionated Nuxt Starter Layer

Quickly start your Nuxt project with the best modules and tooling.

Get started

Install the layer with your preferred package manager.

bun i @mathix420/nuxt-layer
# or
npm i @mathix420/nuxt-layer

Update your nuxt config to extend from this layer.

export default defineNuxtConfig({
  extends: [
    "@mathix420/nuxt-layer",
  ]
})

Generate typings and init modules.

bunx nuxi prepare
# or
npx nuxi prepare

Load eslint presets.

# may not be needed anymore
bun pm trust @mathix420/nuxt-layer
// eslint.config.mjs
// @ts-check
// @ts-ignore
import cfg from "@mathix420/nuxt-layer/eslint.config.mjs";
import withNuxt from "./.nuxt/eslint.config.mjs";

export default withNuxt(
  cfg,
  {
    settings: {
      tailwindcss: {
        config: ".nuxt/tailwind/postcss.mjs",
      },
    },
  },
);

Copy VS Code settings, be careful they'll be overwritten.

cp -r node_modules/@mathix420/nuxt-layer/.vscode .

Migrate to nuxt v4.

export default defineNuxtConfig({
  future: { compatibilityVersion: 4 },
})
bunx codemod@latest nuxt/4/migration-recipe

Setup renovate

renovate.json:

{
    "$schema": "https://docs.renovatebot.com/renovate-schema.json",
    "extends": [
        "github>mathix420/nuxt-layer"
    ]
}

Dev

Setup

Make sure to install dependencies:

bun install

Development Server

Start the development server on http://localhost:3000:

bun dev

Upgrade deps

bunx npm-check-updates -i --format group

Check out the Nuxt layer documentation for more information.

FAQs

Package last updated on 10 Feb 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.