Understanding Persistent Relational Data
# Understanding Persistent Relational Data
1. When using the Vue cli what is the command to initialize a project?
npm run serve. This stands for Node Package Manager.
2. Where can you find the scripts to startup you project on localhost?
You can find the scripts on the package.json file.
3. What feature of Vue can be used to repeat an element using a collection of data?
You can use the v-for to loop information.
4. What are the three tags that make up a Vue component?
The three tags are script, style, and template.
5. What does the L represent in the SOLID principles?
The L stands for Liskov subsitution princliple, which is programs should be able to replaced with a subtype and not break the probram.
6. Which component in Vue does the vue-router use to mount pages onto?
It uses Router-view. This is placed in the App.vue
7. What is the difference between the AppState and the state object within a component?
The AppState is the global source of infomation. The state is just for the component
9. What is the responsibility of Services in our Vue projects?
The services is where you put all the function, and the logic of the project
10. Which file contains the root element of your Vue project?
The App.vue is the root element. It is the base file that loads, and everything loads from there.
11. The ______ tag is used to alter the styling of your entire Vue project. Adding the ______ attribute to this tag will limit it to just the component it exists. Fill in the blank.
The first blank is scss. The second blank is scoped.
12. What is the Vue method used to create watchable objects such as state or AppState?
Computed