mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-21 21:15:24 +08:00
chore(vue): add eslint and prettier (#26635)
This commit is contained in:
@ -1,9 +1,10 @@
|
||||
import { h, defineComponent } from 'vue';
|
||||
import { h, defineComponent } from "vue";
|
||||
|
||||
export const IonPage = /*@__PURE__*/ defineComponent({
|
||||
name: 'IonPage',
|
||||
name: "IonPage",
|
||||
props: {
|
||||
registerIonPage: { type: Function, default: () => {} }
|
||||
// eslint-disable-next-line @typescript-eslint/no-empty-function
|
||||
registerIonPage: { type: Function, default: () => {} },
|
||||
},
|
||||
mounted() {
|
||||
this.$props.registerIonPage(this.$refs.ionPage);
|
||||
@ -11,14 +12,14 @@ export const IonPage = /*@__PURE__*/ defineComponent({
|
||||
setup(_, { attrs, slots }) {
|
||||
return () => {
|
||||
return h(
|
||||
'div',
|
||||
"div",
|
||||
{
|
||||
...attrs,
|
||||
['class']: 'ion-page',
|
||||
ref: 'ionPage'
|
||||
["class"]: "ion-page",
|
||||
ref: "ionPage",
|
||||
},
|
||||
slots.default && slots.default()
|
||||
)
|
||||
}
|
||||
}
|
||||
);
|
||||
};
|
||||
},
|
||||
});
|
||||
|
Reference in New Issue
Block a user