Pitu 6 years ago
parent
commit
352d84ea3a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      nuxt.config.js

+ 1 - 1
nuxt.config.js

@@ -1,4 +1,4 @@
-require('dotenv').config();
+import dotenv from 'dotenv/config';
 import autoprefixer from 'autoprefixer';
 import autoprefixer from 'autoprefixer';
 import serveStatic from 'serve-static';
 import serveStatic from 'serve-static';
 import path from 'path';
 import path from 'path';