We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The debugging guide recommends naming your DefineMaps by putting a string in the 0th argument of the .extend.
DefineMaps
.extend
The app generator includes a conditional import for can-debug. This implies that we should be using the new debugging features.
can-debug
But when I generate a new component, the view model does not include a name for the DefineMap as recommended by the guide.
Per a discussion on slack, we should camelcase the tag (after removing the -) and maybe add VM at the end. (like so - https://github.com/canjs/can-component/blob/311a68be00f9d7a5ce74f2e68f75ddfbffb1ffef/can-component.js#L175)
-
VM
The text was updated successfully, but these errors were encountered:
No branches or pull requests
The debugging guide recommends naming your
DefineMaps
by putting a string in the 0th argument of the.extend
.The app generator includes a conditional import for
can-debug
. This implies that we should be using the new debugging features.But when I generate a new component, the view model does not include a name for the DefineMap as recommended by the guide.
Per a discussion on slack, we should camelcase the tag (after removing the
-
) and maybe addVM
at the end. (like so - https://github.com/canjs/can-component/blob/311a68be00f9d7a5ce74f2e68f75ddfbffb1ffef/can-component.js#L175)The text was updated successfully, but these errors were encountered: