Getting started

Configuration files

This section outlines the configuration files available in your project. These files are crucial for managing and customizing the build system, ensuring that the development environment is tailored to meet specific requirements.

Configuration files overview

File nameDescription
next.config.mjsConfiguration file for Next.js, allowing customization of the build process, webpack configuration, routing, and more. It defines essential build settings and can be used to configure various Next.js features like image optimization, internationalization, and custom webpack configurations.
package.jsonManages the project's metadata, scripts, and dependencies, serving as a manifest file for Node.js projects. Essential for npm to identify the project's dependencies, scripts, and version info.
.editorconfigHelps maintain consistent coding styles for multiple developers working across various editors and IDEs. It supports a number of properties for setting indent style, charset, and more. For detailed configuration, visit the EditorConfig Documentation.
tsconfig.jsonConfiguration file for TypeScript compiler options and project settings. It defines how TypeScript should compile your code and which features to support. For more information, see the TypeScript Documentation.
.gitignoreSpecifies files and directories that Git should ignore. Helps prevent unneeded files from being committed to your repository.
.eslintrc.jsonSets up ESLint rules to enforce coding styles and catch errors in JavaScript and TypeScript. Detailed documentation is available on ESLint's Configuring Guide.
.prettierrcDefines code formatting rules for Prettier, ensuring consistent style across your project. For a detailed list of configurable options, refer to the Prettier Options Documentation.
.prettierignoreLists the files and directories that Prettier should ignore, similar to .gitignore but specifically for code formatting.
.stylelintrc.jsonProvides Stylelint configurations to maintain consistent CSS or SCSS syntax in your project. You can explore more about configuring Stylelint and its rules on the Stylelint Rules.
.stylelintignoreLists the files and directories that Stylelint should ignore when checking CSS/SCSS files, similar to .gitignore but specifically for style linting.
scripts/icon-font.mjsA utility script that generates icon fonts from SVG files. This is used during the build process to create custom icon fonts for the template.
manifest.tsDefines the Progressive Web App (PWA) manifest for the application. Located in the src/app directory, this file exports the web app manifest configuration that determines how your app appears when installed on a user's device.
Top