NueJS configuration file
NueJS site configuration file
| Type | object |
|---|---|
| Schema URL | https://catalog.lintel.tools/schemas/schemastore/nuejs-configuration-file/latest.json |
| Source | https://www.schemastore.org/nuejs-site.json |
Validate with Lintel
npx @lintel/lintel check
Properties
The output directory for the generated build files.
An array of global directories, automatically included on all pages.
Whether to enable hot reloading.
An array of directories treated as libraries.
A list of reference links for use in Markdown content. Links should be supplied in the name: url "title" format.
Whether to use Lightning CSS for processing of CSS.
Whether to use native CSS nesting.
The port number for the development server. Defaults to 8080.
Whether to enable syntax highlighting for code blocks within your Markdown content.
Whether to enable view transitions for instant and smooth page switches.
Whether to inline all CSS directly into the HTML page.
The value of the HTML
The value of the charset meta tag.
The value of the <html direction="{ direction }"> attribute, which defines the text direction of the document. The default is "ltr" (left to right)..
The relative path to your favicon.
The generator meta tag that identifies the software used to create the site. The default is "Nue (nuejs.org)" and is only rendered in production mode.
When set to true, all header levels (h2 and h3) will be generated with an id and an anchor () element.
The value of the <html lang="{ language }"> attribute. The default is "en".
Your full domain name, including the protocol.
An array of assets to prefetch before they are used. These can include images, scripts, or CSS files.
The value for the robots meta property. Use "noindex" to exclude the entire website from search engine indexing.
The value for the theme color meta property.
The viewport value. The default is: "width=device-width, initial-scale=1".
A list of assets to be included from a library directory for all pages in the area. For example, a value like include: [highlight, motion] would include all files matching the strings highlight or motion in their filenames.
An array of CSS class names for the page sections, or true to render sections but not add any class names.
The name of the application directory to which the page belongs.
The name of the directory for a content collection.
The name of the content collection variable. By default, this is the same as the directory name.
A list of assets to be excluded from a library directory.
The URL of the Open Graph image to represent the page on social media platforms.
A shorthand alias for og_image, allowing for easier reference in the page settings.
A brief description of the page to be used in Open Graph meta tags. This description appears in social media previews, providing context about the content when shared.
A setting that prevents the page from being included in content collections.