e-chan1007 / nuxt-monaco-editor

Integrate monaco-editor with Nuxt
https://e-chan1007.github.io/nuxt-monaco-editor
MIT License
119 stars 15 forks source link

First screen loading size issue #65

Open HouLiXieBuRou opened 3 weeks ago

HouLiXieBuRou commented 3 weeks ago

I used this component under the '/path' route and observed that the '/' route would load a huge. js file. Even if the entire project does not use this component, the first screen access to the '/' route would still load this. js file. How can I avoid it? When it accesses the page where the component is introduced, load the. js file