@classement-des-associations/website-theme
v0.10.6
Published
A Nuxt theme for websites of [Le Classement des Associations](https://le-classement.fr).
Downloads
23
Readme
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 formlinkedinGroupLink
- 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.