openfext / vue-form-builder

Build powerful vue form with JSON schema and composition api.
https://openfext.github.io/vue-form-builder
MIT License
386 stars 45 forks source link

Fail to serve on NuxtJS #20

Open xgenvn opened 4 years ago

xgenvn commented 4 years ago

Bug Report

Description

The guideline seems broken on Nuxt setup.

Minimal Reproduction

Fresh project from yarn create nuxt-app, using options:

Exception or Error

Must use import to load ES Module: <skip>/node_modules/vue-runtime-helpers/dist/normalize-component.mjs

Updated on 14/11/2020:

image

Your Environment

Vue Version:

2.6.11

Vue Composition API:

1.0.0-beta.10

NuxtJS Version

2.14.0

Node Version

v12.18.3
felixpy commented 3 years ago

Sorry, I have been busy with work recently. Need to provide a minimal project that can reproduce the problem, thank you.

xgenvn commented 3 years ago

@felixpy I put the example integration on the repo: https://github.com/xgenvn/nuxt-form-builder-integration

felixpy commented 3 years ago

@xgenvn This project use rollup-plugin-vue to build bundles. Unfortunately, according to official documents, a separate version needs to be built for SSR applications.