Architecture
Here we define all files and folders that are used in this project.
README.md
- main readme file, it specifies the entry point to the project's documentation-
package.json
- main file of the project. It defines the project's dependencies and scripts. It is also used to provide meta-data for many other tools package-lock.json
- lock file for dependencies. It is used to install exactly the same versions of dependencies on each build-
nuxt.config.ts
- the main configuration file forNuxt
. It contains a list of installed plugins and other configuration. It is also used to specify how to build this project -
tsconfig.json
- is used to specify how to deal with thets
files in this project. We can introduce newts
features by adding new configuration -
.nvmrc
- file withnode
version specification. Make sure that you have it installed, or otherwise, the project will not work at all -
.editorconfig
- file with format specification. You need to install the required plugin for your IDE in order to enable it docker/
- this folder containsDockerfile
s and utility scripts that are used for development and quality assurance-
docker-compose.yml
- this the file specifiesdocker
services that are needed for development and testing .dockerignore
- specifies what files should not be copied to thedocker
image-
.gitlab-ci.yml
- GitLab CI configuration file. It basically defines what to do with your project after pushing it to the repository. Currently it is used for testing and releasing adocker
image -
.vscode/
-vscode
IDE integration. We store different settings, plugins, and tasks inside this folder
assets/
- this directory contains your images, fonts, or any other files that you want to be processed bywebpack
components/
- the components directory contains yourVue
components,Nuxt
doesn't supercharge these componentslogic/
- this directory contains your Application Logics. You should put everything that is considered business logic heremiddleware/
- this directory contains your Application Middleware. The middleware lets you define custom function to be run before rendering a page or a group of pages (layouts)static/
- the static files directory. These files are not processed by any loaders and just copied as-isshims/
- this directory contains TypeScript declaration files, feel free to extend it with your own types
fixtures/
- this folder contains utility files that are used for testing.eslintrc.js
- this file extends linting rules for testingjest-shims.d.ts
- file to import TypeScript types into current context
Last modified 3yr ago