Src Directory
Let’s take a closer look at the src directory.
We'll cover the following...
- The api folder
- The assets folder
- The components directory
- The composables directory
- The layout directory
- The config directory
- The constants directory
- The directives folder
- The helpers folder
- The intl directory
- The plugins directory
- The router directory
- The services folder
- The store folder
- The styles folder
- The views folder
The api
folder
First, we have the api
folder, which has the API layer of our application. It has methods that are responsible for making API calls and communicating with a server.
The assets
folder
The assets
folder contains fonts and images. In fonts, we can keep any custom fonts and typefaces. In images, we can store any pictures used throughout the application.
The components
directory
The initial directories are base
, common
, and transitions
. The base
directory accommodates the most reusable components used in an application, buttons, form inputs, and so on. Base components are dynamically loaded and registered, so we don’t have ...