@classement-des-associations/website-theme

0.10.6 • Public • Published

Website Theme

A Nuxt theme for websites of Le Classement des Associations.

Setup

Make sure to install the dependencies:

pnpm install

Working on your theme

This theme is at the root of this repository, it is exactly like a regular Nuxt project.

The .playground directory should help you on trying theme during development.

Running pnpm dev will prepare and boot .playground directory, which imports your theme itself.

Distributing theme

This project is a Nuxt layer which is shaped exactly the same as any other Nuxt project, except it is published on NPM.

Install

To install this theme, you can use npm, yarn or pnpm:

npm install --save @classement-des-associations/website-theme

Then add the dependency to their extends in nuxt.config:

defineNuxtConfig({
  extends: '@classement-des-associations/website-theme'
})

Development Server

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

pnpm dev

Setup Runtime Config

Currently, this theme using these runtime config:

  • newsletterSubscriptionLink - The link to the newsletter subscription form
  • linkedinGroupLink - The link to the LinkedIn group

Read more about Runtime Config.

Production

Build the application for production:

pnpm build

Or statically generate it with:

pnpm generate

Locally preview production build:

pnpm preview

Checkout the deployment documentation for more information.

/@classement-des-associations/website-theme/

    Package Sidebar

    Install

    npm i @classement-des-associations/website-theme

    Weekly Downloads

    2

    Version

    0.10.6

    License

    none

    Unpacked Size

    65.1 kB

    Total Files

    41

    Last publish

    Collaborators

    • barbapapazes