0.4.0 • Published 1 year ago
@fdcn/popcorn v0.4.0
Popcorn
Create Nuxt extendable layer with this GitHub template.
Motivation
This is to make the most sane starter which includes:
- Animation helpers
- Web page optimizers
- Inline critical CSS
- Offload JS
- Font override
- Partial hydration
- SEO optimization
Setup
Make sure to install the dependencies:
pnpm installUsage
First, install the package with your favorite package manager:
pnpm install @fdcn/popcornAdd the dependency to their extends in nuxt.config:
defineNuxtConfig({
extends: '@fdcn/popcorn'
})Development Server
Start the development server on http://localhost:3000
pnpm devProduction
Build the application for production:
pnpm buildOr statically generate it with:
pnpm generateLocally preview production build:
pnpm previewCheckout the deployment documentation for more information.