MCPcopy Index your code
hub / github.com/basics/nuxt-booster

github.com/basics/nuxt-booster @v3.3.2

Chat with this repo
repository ↗ · DeepWiki ↗ · release v3.3.2 ↗ · + Follow
344 symbols 650 edges 85 files 0 documented · 0%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

share me:

nuxt-booster

Nuxt Booster

main next Sonarcloud Status

npm version npm downloads

TypeScript Renovate - Status License

Nuxt Booster takes over the Lighthouse performance optimization of your generated website. All used components and resources are loaded on demand based on the viewport.

Getting Started

Please follow the 📖   Documentation

Requirements

  • NodeJS >= 19
  • NuxtJS >= 3.5.0

Features

  • dynamic loading of viewport based page resources like fonts, components, pictures, images and iframes
  • optional blocking of javascript execution by initial performance measuring
  • optimized initial load of javascript files by eliminating of unnecessary javascript files
  • prevents the loading of unnecessary resources (including components) that are outside the current viewport.
  • optional info layer concept to inform users about a reduced UX when bandwidth or hardware is compromised.
  • completely new approach of font declaration
  • optimized picture component (supports viewport based sources e.g. landscape/portrait)
  • optimized image component
  • supports SEO-friendly lazy hydration mode (picture + image)
  • optimized youtube/vimeo component (auto generated poster image in different resolutions)

Results

  • delivery of the minimum required resources based on the current viewport
  • if you use the tools as specified you will get a lighthouse performance score of 100/100

📖   Read more

Browsers support

You can use nuxt-booster with Internet Explorer 11 browser. Learn more at Browser compatibility

| IE / Edge

IE / Edge | Firefox

Firefox | Chrome

Chrome | Safari

Safari | iOS Safari

iOS Safari | Samsung

Samsung | Opera

Opera | Vivaldi

Vivaldi | | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | Edge | last 2 versions | last 2 versions | last 2 versions | last 2 versions | last 2 versions | last 2 versions | last 2 versions |

Development

  1. Clone this repository.
  2. Install dependencies using npm install or yarn install.
  3. Start development server using npm run dev or yarn dev.

Preview

  1. Clone this repository.
  2. Install dependencies using npm install or yarn install.
  3. Build and start with express npm run start:generate or yarn start:generate.
  4. Open http://127.0.0.1:3000 in Browser.

or look here

Consulting & Support

Do you need further support, a consultation or a code review for an appropriate fee? Just contact us via eMail: stephan.gerbeth@gmail.com, lammpee@gmail.com. We are looking forward to your request.

License

MIT License

Extension points exported contracts — how you extend this code

ISource (Interface)
(no doc) [1 implementers]
src/types/module.ts
ExtendedNuxtConfig (Interface)
(no doc)
test/nuxt.config.ts
BoosterOptionsDeprecations (Interface)
(no doc)
src/utils/options.ts
Binding (Interface)
(no doc)
src/runtime/directives/vFont.ts
LinkProps (Interface)
(no doc)
playground/app/types.d.ts
ModulePublicRuntimeConfig (Interface)
(no doc)
src/types/module.ts
TextProperties (Interface)
(no doc)
src/utils/types.ts
ClassNames (Interface)
(no doc)
src/runtime/components/BoosterPicture/classes/SourceList.ts

Core symbols most depended-on inside this repo

waitForSelector
called by 19
test/tests/browser.ts
createPage
called by 16
test/tests/browser.ts
getCrossorigin
called by 13
src/runtime/utils/browser.ts
getDom
called by 11
test/utils.ts
getHTML
called by 11
test/utils.ts
getLinkPreloadKey
called by 10
test/utils.ts
remove
called by 9
src/runtime/components/BoosterVimeo/classes/Vimeo.ts
add
called by 8
src/runtime/utils/performance.ts

Shape

Function 171
Method 87
Interface 49
Class 34
Enum 3

Languages

TypeScript100%

Modules by API surface

src/types/module.ts19 symbols
src/runtime/classes/Font.ts17 symbols
src/runtime/components/BoosterImage/classes/Source.ts16 symbols
src/runtime/utils/entry.ts15 symbols
src/runtime/components/BoosterPicture/classes/SourceList.ts15 symbols
src/runtime/utils/performance.ts14 symbols
src/runtime/classes/FontCollection.ts12 symbols
src/runtime/directives/vFont.ts11 symbols
src/runtime/classes/intersection/ElementObserver.ts11 symbols
src/runtime/classes/lighthouse/Stats.ts10 symbols
src/utils.ts9 symbols
src/runtime/classes/intersection/Observable.ts9 symbols

For agents

$ claude mcp add nuxt-booster \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact