Skip to content
Discussion options

You must be logged in to vote

okay, i solved this problem by add define on vite.config.ts

import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'

// https://vitejs.dev/config/
export default defineConfig({
  plugins: [vue()],
  define: {
    Module: {} // this
  }
})
``

It doesn't look good, but it works for now.

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@boehmrn
Comment options

@naramdash
Comment options

@logue
Comment options

@szsolutions
Comment options

@logue
Comment options

Answer selected by naramdash
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants