Afrikaans
Akan
Albanian
Amharic
Arabic
Armenian
Azerbaijani
Basque
Belarusian
Bemba
Bengali
Bihari
Bosnian
Breton
Bulgarian
Cambodian
Catalan
Cebuano
Cherokee
Chichewa
Chinese (Simplified)
Chinese (Traditional)
Corsican
Croatian
Czech
Danish
Dutch
English
Esperanto
Estonian
Ewe
Faroese
Filipino
Finnish
Frisian
Ga
Galician
Georgian
German
Greek
Guarani
Gujarati
Haitian Creole
Hausa
Hawaiian
Hebrew
Hindi
Hmong
Hungarian
Icelandic
Igbo
Indonesian
Interlingua
Irish
Italian
Japanese
Javanese
Kannada
Kazakh
Kinyarwanda
Kirundi
Kongo
Korean
Krio (Sierra Leone)
Kurdish
Kurdish (Soranรฎ)
Kyrgyz
Laothian
Latin
Latvian
Lingala
Lithuanian
Lozi
Luganda
Luo
Luxembourgish
Macedonian
Malagasy
Malay
Malayalam
Maltese
Maori
Marathi
Mauritian Creole
Moldavian
Mongolian
Myanmar (Burmese)
Montenegrin
Nepali
Nigerian Pidgin
Northern Sotho
Norwegian
Norwegian (Nynorsk)
Occitan
Oriya
Oromo
Pashto
Persian
Polish
Portuguese (Brazil)
Portuguese (Portugal)
Punjabi
Quechua
Romanian
Romansh
Runyakitara
Russian
Samoan
Scots Gaelic
Serbian
Serbo-Croatian
Sesotho
Setswana
Seychellois Creole
Shona
Sindhi
Sinhalese
Slovak
Slovenian
Somali
Spanish
Spanish (Latin American)
Sundanese
Swahili
Swedish
Tajik
Tamil
Tatar
Telugu
Thai
Tigrinya
Tonga
Tshiluba
Tumbuka
Turkish
Turkmen
Twi
Uighur
Ukrainian
Urdu
Uzbek
Vietnamese
Welsh
Wolof
Xhosa
Yiddish
Yoruba
Zulu
In this lecture, we are going to review the files generated by the Create View Package.
Most of the files should be familiar to us since we selected a few tools during installation.
There will be new files in our project.
Let's focus on the new files first.
We're going to focus on the files in the root directory.
The first file is called S lint RC dot CSJ.
This file contains the configuration settings for S lint.
Inside the exported object, there are a few settings being added.
The first setting is called root.
It's completely acceptable for subdirectories to have different rules.
You can create a configuration file from within a directory.
S lint will apply the rules from the inner directory instead of the configuration file in the root directory,
we can specify a root configuration file by setting this property to true.
Up next, we have an array called extends.
Configuring the rules for Linux can be tedious.
There are dozens of rules.
Our file would become very large.
To avoid large files, we can apply rules from other configuration files.
In this array, we are applying rules from three files.
The first file is called View Essential.
There are rules for checking the code quality of view components.
Next, there's the S lynch recommended rules.
These rules are the recommended rules from the s lynch package.
Lastly, there's the prettier rules as we discussed before.
Prettier may conflict with the rules from s lynch.
To avoid conflicts, this file configures s lynch not to clash with prettier.
For most projects, the configuration settings from these files will be more than suitable.
Let's move on to the last property.
It's called overrides.
Sometimes we may not want to apply the same rules to all files.
We can use special rules for specific files by adding this array.
In this array, each object can represent a set of files.
In this example, a special set of rules are being applied to Cypress Test files.
Overall, that does it for the Lynch configuration file before moving on to the next file.
Check out the resource section of this lecture for a link to a style guide.
The Style Guide lists recommended guidelines for formatting and writing code.
I want to emphasize the word recommended.
Most of these guidelines are optional.
Vue has four categories of rules.
They are the essential, strongly recommended, recommended and use with caution categories.
Rules in the essential category are considered highly important.
We must follow these rules.
Otherwise we may encounter errors in our application.
You should always follow them as they are considered.
Standard Practice.
The other categories contain optional rules.
The last category is called use with caution, the rules in the use with caution category or rules that
are for special edge cases.
They're not something you should regularly use unless you need to.
Throughout this course, I'm going to try my best to follow the rules specified by you.
At times, I may deviate from these rules to better explain concepts.
One example is that it's recommended not to perform log statements in our code.
However, we may need to log values for debugging purposes.
Feel free to adhere to these rules as you wish.
Is, lint has been configured to follow most of these rules.
Head back to the editor.
Let's move on to the next file.
The Cypress dot config dot js file contains the settings for the cypress tool.
Cypress is a tool for performing testing on an application.
Testing is a topic covered in this course.
For now, we're going to ignore this file until we talk about testing.
There may be errors in this file.
You can safely ignore them.
They will not impact our application.
Moving on, let's check out the package file.
Inside this file, we're going to find an extensive list of dependencies.
We'll explore them as we progress through the course.
Let's shift our focus to the scripts object.
We don't have the usual list of commands.
The Create View package will supply us with additional commands.
Three commands are related to tests.
Once again, these commands will be reviewed during the testing section.
Of this course, you can safely ignore them.
The last command is for landing our project in an upcoming lecture.
We are going to automate lynching.
It'll be easier to automate this process as opposed to running a command.
Overall, these are the major changes in the root directory.
Let's start looking at the folders.
The first folder is called VS Code.
This directory may be available for some of you.
If it is, this folder will contain settings for Visual Studio code.
You may get warnings from the editor.
If you don't want to constantly receive warnings, you can safely delete this directory.
I'm going to quickly do so.
The public directory is mostly the same as before.
We have the five icon file, nothing else to it.
The most significant change is in the source directory, unlike before.
Three directories have been created called views, stores and router.
We'll be exploring these directories throughout the project.
Don't worry about them.
We'll soon become comfortable with everything within the components directory.
A new directory was created called tests.
It's another directory for writing tests.
Tests are a topic we'll cover in a separate section that sums up everything in the next lecture.
Let's start configuring our editors to format our code.
Can't find what you're looking for?
Get subtitles in any language from opensubtitles.com, and translate them here.