Vue vue export const ADD_CART = 'ADD_CART' Why uppercase

vue export const ADD_CART = "ADD_CART" Why uppercase


this is just a code specification

ide/" rel=" nofollow noreferrer "> https://cn.vuejs.org/v2/style.

if you don't like it, you don't have to write this way

.

constants are generally capitalized. It belongs to an "unwritten" rule.


standardize. The answer to the question that constants are capitalized


is the same as why we eat with chopsticks, and there is no reason

.
Menu