Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeError: Cannot set property 'apex' of undefined #167

Closed
Wjinlei opened this issue Apr 14, 2021 · 4 comments
Closed

TypeError: Cannot set property 'apex' of undefined #167

Wjinlei opened this issue Apr 14, 2021 · 4 comments

Comments

@Wjinlei
Copy link

Wjinlei commented Apr 14, 2021

TypeError: Cannot set property 'apex' of undefined

@kubido
Copy link

kubido commented Apr 15, 2021

you need to set up the MonacoWebpackPlugin, I put mine in vue.config.js

const MonacoWebpackPlugin = require('monaco-editor-webpack-plugin');

module.exports = {
  configureWebpack: {
    plugins: [
      new MonacoWebpackPlugin({
        languages: ['javascript']
      })
    ]
  }
}

@Wjinlei
Copy link
Author

Wjinlei commented Apr 16, 2021

Thank you,but this doesn't work for me

Here i am

languages: ['javascript', 'css', 'html', 'typescript']

But again "Cannot set property 'css' of undefined”

@Wjinlei Wjinlei closed this as completed Apr 16, 2021
@linyanbin666
Copy link

@Wjinlei How do you solve "Cannot set property 'css' of undefined” ?

@Wjinlei
Copy link
Author

Wjinlei commented Apr 27, 2021

@Wjinlei How do you solve "Cannot set property 'css' of undefined” ?

我并没有解决这个问题,我换codemirror了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants