Skip to content

Commit 48ef471

Browse files
Updating playground
1 parent c3eb555 commit 48ef471

File tree

3 files changed

+192
-192
lines changed

3 files changed

+192
-192
lines changed

src/playground/configs/PlaygroundApp.vue

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,11 @@
2020

2121
<v-row>
2222
<v-col class="v-col-12">
23-
<PlaygroundPage />
23+
<v-container>
24+
<v-row class="row mb-4">
25+
<PlaygroundPage />
26+
</v-row>
27+
</v-container>
2428
</v-col>
2529
</v-row>
2630
</v-container>

src/playground/configs/playground.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,19 @@ import { createPinia } from 'pinia';
55
import { registerPlugins } from '../../plugins';
66
import { FontAwesomeIcon } from '@fortawesome/vue-fontawesome';
77
import { makeServer } from '../../server';
8+
import * as VInlineFields from '../../index';
89

9-
makeServer();
10+
makeServer({ environment: 'playground' });
1011

1112
const app = createApp(PlaygroundApp);
1213
app.use(createPinia());
1314
app.component('font-awesome-icon', FontAwesomeIcon);
1415
app.component('FaIcon', FontAwesomeIcon);
1516

17+
for (const prop in VInlineFields) {
18+
app.component(prop, VInlineFields[prop]);
19+
}
20+
1621
registerPlugins(app);
1722

1823
app.mount('#app');

0 commit comments

Comments
 (0)