Closed charlimxm closed 1 day ago
Hello @charlimxm, Thank you for sharing this code. Please ensure that your Nuxt configuration includes the plugin and CSS
nuxt.config.ts
// https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({
devtools: { enabled: true },
css: ['survey-core/defaultV2.min.css'],
plugins: ['~/plugins/survey-plugin.ts'],
});
I created the following demo for your reference:
I confirm that the SurveyJS form appears correctly.
Also, ran this demo locally and confirmed that the nuxt dev
and nuxt build
commands completes successfully.
Here is the nuxt build
commant output.
Please let me know if this information helps.
Hello! Am trying to use survey-vue3-ui library with Nuxt 3 app. Works in dev but error occurs when I try to build app for production
/plugins/survey.js
App works on nuxt dev.
Error occurs when I run nuxt build.![Screenshot 2024-06-06 at 6 14 18 PM](https://github.com/surveyjs/survey-library/assets/31029245/aa7b59d1-16f4-4739-8217-6529117db141)
How should I use the survey library with nuxt 3?
Specify your