Closed mikob closed 2 years ago
vite doesn't know about the "~" alias by default. Solution is to chance css imports to:
<style>
/* Import Vue Flow Form base CSS */
@import "@ditdot-dev/vue-flow-form/dist/vue-flow-form.css";
/* Import one of the Vue Flow Form CSS themes (optional) */
@import "@ditdot-dev/vue-flow-form/dist/vue-flow-form.theme-minimal.css";
/* @import '~@ditdot-dev/vue-flow-form/dist/vue-flow-form.theme-green.css'; */
/* @import '~@ditdot-dev/vue-flow-form/dist/vue-flow-form.theme-purple.css'; */
</style>
For posterity I'm posting this issue for others that have it. The solution is in the next comment.
Default config after creating a new vue 3 project via
npm init vue@latest
This is due to the css imports: