-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
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
Breadcrumb devsite #167
Breadcrumb devsite #167
Conversation
/gcbrun |
Temporary Url for review: https://developer-connect-dev--pr-167-liaofvqk.web.app |
717fe59
to
5893700
Compare
5893700
to
0a0ae65
Compare
/gcbrun |
Temporary Url for review: https://developer-connect-dev--pr-167-1rexgsiy.web.app |
/gcbrun |
Temporary Url for review: https://developer-connect-dev--pr-167-1rexgsiy.web.app |
/gcbrun |
Temporary Url for review: https://developer-connect-dev--pr-167-1rexgsiy.web.app |
/gcbrun |
Temporary Url for review: https://developer-connect-dev--pr-167-1rexgsiy.web.app |
const bc = [ | ||
{ label: t('sbcBreadcrumb.default'), to: 'https://bcregistry.gov.bc.ca/' } | ||
] | ||
bc.push({ label: t('sbcBreadcrumb.sbcHome'), to: '/' }) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why do you need this line?
You can do like this:
const bc = [
{ label: t('sbcBreadcrumb.default'), to: 'https://bcregistry.gov.bc.ca/' },
{ label: t('sbcBreadcrumb.sbcHome'), to: '/' }
]
} | ||
}) | ||
|
||
function resolveBackHref () { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it's better to use computed
(ref. code: nuxt/layers/core/app/components/Connect )