title: Importing OBJLoader in NUXT
body: <p>I've write little app on three js, and now i need to load obj and mtl, but i cant find how can i import OBJLoader.js in main .vue file. My example below:</p>
  
  <pre><code>import * as THREE from 'three';
  import * as OBJLoader from '@/plugins/OBJLoader';
  import * as MTLLoader from '@/plugins/MTLLoader';
  import {TweenMax} from 'gsap';
  let OrbitControls = require('three-orbit-controls')(THREE);
  export default{
      data(){
          return {
  
          }
      },
      watch: {
  
      },
      mounted(){
          console.clear();
          //VARIABLES
          let canvas = document.getElementById('myscene');
          let width = window.innerWidth;
          let height = window.innerHeight;
          ...
          var loader_9 = new THREE.OBJLoader(); 
          loader_9.load(
  
               'Model/Provod.obj',
  
          function ( object ) {
          scene.add( object );
          });
      ...
      };
  </code></pre>
  
  <p>This is NUXT error message:</p>
  
  <pre><code>ReferenceError
  THREE is not defined
  </code></pre>
  
  <p>and screenshot:</p>
  
  <p><a href="https://i.stack.imgur.com/WhVXf.png" rel="nofollow noreferrer">error screenshot</a></p>
  
  <p>how should I import OBJLoader and other loaders for three js in nuxt?</p>
  
  <p>Thanks for answers.</p>