You've already forked AstralRinth
forked from didirus/AstralRinth
* Add quick server creation button, and dynamic pricing to custom server selection * Remove test in compatibility card * Lint + remove duplicate file * Adjust z-index of popup * $6 -> $5 * Dismiss prompt if the button is clicked * Make "Create a server" disabled for now * Use existing loaders type
20 lines
440 B
JavaScript
20 lines
440 B
JavaScript
import FloatingVue from "floating-vue";
|
|
import "floating-vue/dist/style.css";
|
|
|
|
export default defineNuxtPlugin((nuxtApp) => {
|
|
nuxtApp.vueApp.use(FloatingVue, {
|
|
themes: {
|
|
"ribbit-popout": {
|
|
$extend: "dropdown",
|
|
placement: "bottom-end",
|
|
instantMove: true,
|
|
distance: 8,
|
|
},
|
|
"dismissable-prompt": {
|
|
$extend: "dropdown",
|
|
placement: "bottom-start",
|
|
},
|
|
},
|
|
});
|
|
});
|