Skip to content
Discussion options

You must be logged in to vote

Fixed

Well I don't know why the code above is not working (I still appreciate the answer though) but I think it is for other purposes rather than mine.

So my solution is that I just used traditional way of using vue.js and it works just fine

site.js

import { createApp } from "vue";
// import the root component App from a single-file component.
import ExampleFieltype from "./components/fieldtypes/ExampleFieldtype.vue";

const app = createApp();

app.component("example-fieldtype", ExampleFieltype);

app.mount("#app");

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@btsutskiridze
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by btsutskiridze
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants