Skip to content
This repository was archived by the owner on Sep 30, 2024. It is now read-only.

Commit eb9889c

Browse files
committed
feat(DataTable)!: add items per page global settings
1 parent f421b81 commit eb9889c

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

.storybook/app.ts

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,13 @@
1-
import { RuiPlugin } from '../src';
1+
import { createRui } from '../src';
22
import * as Icons from '../src/all-icons';
33
import Vue from 'vue';
44

5-
Vue.use(RuiPlugin, {
6-
icons: Object.values(Icons),
7-
});
5+
const RuiPlugin = createRui({
6+
theme: {
7+
icons: Object.values(Icons),
8+
}
9+
})
10+
11+
Vue.use(RuiPlugin);
812

913
export const vueInstance = new Vue({ template: '<div />' }).$mount();

0 commit comments

Comments
 (0)