-
Notifications
You must be signed in to change notification settings - Fork 6
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
feat: re-export MtSearch in dist #248
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
"@shopware-ag/meteor-component-library": patch | ||
"nuxt-app": patch | ||
--- | ||
|
||
Re-export mt-search and reuse it in nuxt-app example | ||
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,6 +20,8 @@ | |
</MtText> | ||
|
||
<SwTextField label="A text field" v-model="text" /> | ||
|
||
<MtSearch /> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think just making the There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
|
||
</SwBlockStack> | ||
|
||
<MtModalRoot> | ||
|
@@ -261,6 +263,7 @@ import { | |
MtModalClose, | ||
MtModalTrigger, | ||
MtModalAction, | ||
MtSearch, | ||
MtText, | ||
} from "@shopware-ag/meteor-component-library"; | ||
import SwBlockStack from "./components/sw-block-stack.vue"; | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
export default defineNuxtPlugin((nuxtApp) => { | ||
// nuxtApp.$i18n | ||
nuxtApp.provide('t', (a) => a) | ||
}) |
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.
Please only include what's relevant for users of the component library. They just care about the
mt-search
component but not wether the component is used inside the nuxt example app.