Repository adonuxt-template

sergiocastrovale

sergiocastrovale posted a new question

adonuxt-template • 8 days ago

Unexpected token import when attempting to load Nuxt plugins

I need to use some external plugins bundled with Nuxt, so I added this to my nuxt.js file:

  build: {
    analyze: false,
    vendor: ['axios'],
    extend (config, ctx) {
      config.resolve.alias['vars'] = resolve(__dirname, '..', 'resources/assets/scss/_variables.scss')

      if (ctx.isClient) {
        config.module.rules.push({
          enforce: 'pre',
          test: /\.(js|vue)$/,
          loader: 'eslint-loader',
          exclude: /(node_modules)/
        })
      }
    }
  },

  modules: [
    '@nuxtjs/axios',
    '@nuxtjs/auth',
    '@nuxtjs/toast',
    'bootstrap-vue/nuxt',
    ['nuxt-i18n', i18n]
  ],

  plugins: [
    '~plugins/modal',
    '~plugins/axios',
    { src: '~/plugins/amcharts', ssr: false }
  ],

However, whenever run npm run dev I'm getting unexpected token import and other ES6 related issues.

Example with amcharts.js:

import * as am4core from '@amcharts/amcharts4/core'
import * as am4maps from '@amcharts/amcharts4/maps'
import am4themesAnimated from '@amcharts/amcharts4/themes/animated'
import am4geodataWorldLow from '@amcharts/amcharts4-geodata/worldLow'
import Vue from 'vue'

am4core.useTheme(am4themesAnimated)

Vue.prototype.$am4core = () => {
  return {
    am4core,
    am4maps,
    am4geodataWorldLow
  }
}

Output:
screenshot_1

Am I missing something here? Shouldn't I be able to use ES6 in my plugins?

hkmsadek

hkmsadek posted a new question

adonuxt-template • 2 months ago

Nuxt js pages shows 404 not found in ssl enabled site

I have a nodejs project created with adonuxt. I have ssl enabled in my site.

I am using nginx reverse proxy that take requests to localhost:port in my server.

There two problems.

It always shows 404 in all js file.

I have a nodejs project created with adonuxt. I have ssl enabled in my site.

I am using nginx reverse proxy that take requests to localhost:port in my server.

There two problems.

It always shows 404 in all js file. See the image please. enter image description here

It also doesn't load any images.

Another problem is, I can only see some out put for the home page, but if I visit to site.com/page it shows 404 not found (nginx/1.10.3 (Ubuntu))

Any idea whats wrong? Thank you so much for your time.

hkmsadek

hkmsadek posted a new question

adonuxt-template • 3 months ago

How to run the project in production mood using pm2

This is a great repo and I have built an application with it. I can build the application normally using
npm run build and npm start but I want to use pm2 package for the live server. using this command pm2 start server.js actually start the app but it's in development mood. How can I build it for production ready?

Thank you.

hkmsadek

hkmsadek posted a new question

adonuxt-template • 4 months ago

adonux app works great in local development but when deploying to heroku it gives error

Please see the error. It's a long one but may it complains about .env file I am not sure. Can anyone help please>
2018-04-28T02:46:08.400072+00:00 app[web.1]: Error: ENOENT: no such file or directory, open '/app/.env' 2018-04-28T02:46:08.400074+00:00 app[web.1]: 2018-04-28T02:46:08.400075+00:00 app[web.1]: 2018-04-28T02:46:08.400078+00:00 app[web.1]: 1 Env.load 2018-04-28T02:46:08.400079+00:00 app[web.1]: /app/node_modules/@adonisjs/framework/src/Env/index.js:100 2018-04-28T02:46:08.400081+00:00 app[web.1]: 2018-04-28T02:46:08.400083+00:00 app[web.1]: 2 new Env 2018-04-28T02:46:08.400085+00:00 app[web.1]: /app/node_modules/@adonisjs/framework/src/Env/index.js:41 2018-04-28T02:46:08.400086+00:00 app[web.1]: 2018-04-28T02:46:08.400088+00:00 app[web.1]: 3 Object.app.singleton [as closure] 2018-04-28T02:46:08.400090+00:00 app[web.1]: /app/node_modules/@adonisjs/framework/providers/AppProvider.js:29 2018-04-28T02:46:08.400092+00:00 app[web.1]: 2018-04-28T02:46:08.400094+00:00 app[web.1]: 4 Ioc._resolveBinding 2018-04-28T02:46:08.400096+00:00 app[web.1]: /app/node_modules/@adonisjs/fold/src/Ioc/index.js:231 2018-04-28T02:46:08.400097+00:00 app[web.1]: 2018-04-28T02:46:08.400099+00:00 app[web.1]: 5 Ioc.use 2018-04-28T02:46:08.400100+00:00 app[web.1]: /app/node_modules/@adonisjs/fold/src/Ioc/index.js:731 2018-04-28T02:46:08.400102+00:00 app[web.1]: 2018-04-28T02:46:08.400104+00:00 app[web.1]: 6 AppProvider.boot 2018-04-28T02:46:08.400106+00:00 app[web.1]: /app/node_modules/@adonisjs/framework/providers/AppProvider.js:322 2018-04-28T02:46:08.400107+00:00 app[web.1]: 2018-04-28T02:46:08.400109+00:00 app[web.1]: 7 _.filter.map 2018-04-28T02:46:08.400111+00:00 app[web.1]: /app/node_modules/@adonisjs/fold/src/Registrar/index.js:147 2018-04-28T02:46:08.400113+00:00 app[web.1]: 2018-04-28T02:46:08.400114+00:00 app[web.1]: 8 arrayMap 2018-04-28T02:46:08.400116+00:00 app[web.1]: /app/node_modules/lodash/lodash.js:631 2018-04-28T02:46:08.400117+00:00 app[web.1]: 2018-04-28T02:46:08.410778+00:00 app[web.1]: npm ERR! code ELIFECYCLE 2018-04-28T02:46:08.411101+00:00 app[web.1]: npm ERR! errno 1 2018-04-28T02:46:08.412785+00:00 app[web.1]: npm ERR! [email protected] start:node server.js 2018-04-28T02:46:08.413168+00:00 app[web.1]: npm ERR! 2018-04-28T02:46:08.412937+00:00 app[web.1]: npm ERR! Exit status 1 2018-04-28T02:46:08.413327+00:00 app[web.1]: npm ERR! Failed at the [email protected] start script. 2018-04-28T02:46:08.413460+00:00 app[web.1]: npm ERR! This is probably not a problem with npm. There is likely additional logging output above. 2018-04-28T02:46:08.422463+00:00 app[web.1]: 2018-04-28T02:46:08.422645+00:00 app[web.1]: npm ERR! A complete log of this run can be found in: 2018-04-28T02:46:08.422809+00:00 app[web.1]: npm ERR! /app/.npm/_logs/2018-04-28T02_46_08_415Z-debug.log 2018-04-28T02:46:08.486176+00:00 heroku[web.1]: Process exited with status 1 2018-04-28T02:46:08.526869+00:00 heroku[web.1]: State changed from starting to crashed 2018-04-28T02:46:08.532228+00:00 heroku[web.1]: State changed from crashed to starting 2018-04-28T02:46:16.345220+00:00 heroku[web.1]: Starting process with commandnpm start 2018-04-28T02:46:18.797947+00:00 app[web.1]: 2018-04-28T02:46:18.943979+00:00 app[web.1]: running 2018-04-28T02:46:18.797979+00:00 app[web.1]: > [email protected] start /app 2018-04-28T02:46:18.797980+00:00 app[web.1]: > node server.js 2018-04-28T02:46:18.797982+00:00 app[web.1]: 2018-04-28T02:46:19.282450+00:00 app[web.1]: { Error: ENOENT: no such file or directory, open '/app/.env' 2018-04-28T02:46:19.282521+00:00 app[web.1]: at Env.load (/app/node_modules/@adonisjs/framework/src/Env/index.js:100:41) 2018-04-28T02:46:19.282516+00:00 app[web.1]: at Object.fs.openSync (fs.js:646:18) 2018-04-28T02:46:19.282523+00:00 app[web.1]: at new Env (/app/node_modules/@adonisjs/framework/src/Env/index.js:41:22) 2018-04-28T02:46:19.282519+00:00 app[web.1]: at Object.fs.readFileSync (fs.js:551:33) 2018-04-28T02:46:19.282529+00:00 app[web.1]: at Object.app.singleton [as closure] (/app/node_modules/@adonisjs/framework/providers/AppProvider.js:29:14) 2018-04-28T02:46:19.282531+00:00 app[web.1]: at Ioc._resolveBinding (/app/node_modules/@adonisjs/fold/src/Ioc/index.js:231:68) 2018-04-28T02:46:19.282533+00:00 app[web.1]: at Ioc.use (/app/node_modules/@adonisjs/fold/src/Ioc/index.js:731:19) 2018-04-28T02:46:19.282538+00:00 app[web.1]: at Module._compile (module.js:652:30) errno: -2, code: 'ENOENT', syscall: 'open', path: '/app/.env' } 2018-04-28T02:46:19.282535+00:00 app[web.1]: at Ioc.use (/app/node_modules/@adonisjs/fold/src/Ioc/index.js:735:19) 2018-04-28T02:46:19.282536+00:00 app[web.1]: at Object.<anonymous> (/app/app/Services/Nuxt.js:3:13) 2018-04-28T02:46:19.290889+00:00 app[web.1]: 2018-04-28T02:46:19.290895+00:00 app[web.1]: 2018-04-28T02:46:19.290896+00:00 app[web.1]: 2018-04-28T02:46:19.290893+00:00 app[web.1]: Error: ENOENT: no such file or directory, open '/app/.env' 2018-04-28T02:46:19.290897+00:00 app[web.1]: 1 Env.load 2018-04-28T02:46:19.290899+00:00 app[web.1]: /app/node_modules/@adonisjs/framework/src/Env/index.js:100 2018-04-28T02:46:19.290900+00:00 app[web.1]: 2018-04-28T02:46:19.290904+00:00 app[web.1]: 2018-04-28T02:46:19.290902+00:00 app[web.1]: 2 new Env 2018-04-28T02:46:19.290903+00:00 app[web.1]: /app/node_modules/@adonisjs/framework/src/Env/index.js:41 2018-04-28T02:46:19.290909+00:00 app[web.1]: 2018-04-28T02:46:19.290912+00:00 app[web.1]: 4 Ioc._resolveBinding 2018-04-28T02:46:19.290906+00:00 app[web.1]: 3 Object.app.singleton [as closure] 2018-04-28T02:46:19.290908+00:00 app[web.1]: /app/node_modules/@adonisjs/framework/providers/AppProvider.js:29 2018-04-28T02:46:19.290913+00:00 app[web.1]: /app/node_modules/@adonisjs/fold/src/Ioc/index.js:231 2018-04-28T02:46:19.290921+00:00 app[web.1]: 6 AppProvider.boot 2018-04-28T02:46:19.290915+00:00 app[web.1]: 2018-04-28T02:46:19.290918+00:00 app[web.1]: /app/node_modules/@adonisjs/fold/src/Ioc/index.js:731 2018-04-28T02:46:19.290917+00:00 app[web.1]: 5 Ioc.use 2018-04-28T02:46:19.290919+00:00 app[web.1]: 2018-04-28T02:46:19.290923+00:00 app[web.1]: /app/node_modules/@adonisjs/framework/providers/AppProvider.js:322 2018-04-28T02:46:19.290926+00:00 app[web.1]: 7 _.filter.map 2018-04-28T02:46:19.290927+00:00 app[web.1]: /app/node_modules/@adonisjs/fold/src/Registrar/index.js:147 2018-04-28T02:46:19.290924+00:00 app[web.1]: 2018-04-28T02:46:19.290929+00:00 app[web.1]: 2018-04-28T02:46:19.290930+00:00 app[web.1]: 8 arrayMap 2018-04-28T02:46:19.290932+00:00 app[web.1]: /app/node_modules/lodash/lodash.js:631 2018-04-28T02:46:19.300545+00:00 app[web.1]: npm ERR! errno 1 2018-04-28T02:46:19.290933+00:00 app[web.1]: 2018-04-28T02:46:19.300118+00:00 app[web.1]: npm ERR! code ELIFECYCLE 2018-04-28T02:46:19.302677+00:00 app[web.1]: npm ERR! 2018-04-28T02:46:19.302166+00:00 app[web.1]: npm ERR! [email protected] start:node server.js 2018-04-28T02:46:19.302934+00:00 app[web.1]: npm ERR! Failed at the [email protected] start script. 2018-04-28T02:46:19.302349+00:00 app[web.1]: npm ERR! Exit status 1 2018-04-28T02:46:19.303174+00:00 app[web.1]: npm ERR! This is probably not a problem with npm. There is likely additional logging output above. 2018-04-28T02:46:19.308161+00:00 app[web.1]: 2018-04-28T02:46:19.308393+00:00 app[web.1]: npm ERR! A complete log of this run can be found in: 2018-04-28T02:46:19.308548+00:00 app[web.1]: npm ERR! /app/.npm/_logs/2018-04-28T02_46_19_305Z-debug.log 2018-04-28T02:46:19.412283+00:00 heroku[web.1]: State changed from starting to crashed 2018-04-28T02:46:19.367599+00:00 heroku[web.1]: Process exited with status 1 2018-04-28T02:46:29.666732+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=familybazar.herokuapp.com request_id=e3c7f50d-5715-49df-93de-d2bad92b995b fwd="27.147.226.94" dyno= connect= service= status=503 bytes= protocol=https 2018-04-28T02:46:30.263413+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=familybazar.herokuapp.com request_id=f9695341-b9ba-45a1-8963-8a339d39ac38 fwd="27.147.226.94" dyno= connect= service= status=503 bytes= protocol=https 2018-04-28T02:46:30.816586+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/robots.txt" host=familybazar.herokuapp.com request_id=2a006c8d-5463-4ca7-b59e-1db7eb2d9ccc fwd="27.147.226.94" dyno= connect= service= status=503 bytes= protocol=https

emirhanengn

emirhanengn posted a new question

adonuxt-template • 4 months ago

How to use Models in Vue Files

Hello!

I want to use model in vue files. But it returns an empty string to me. How can I use this?

adsiz

mtnptrsn

mtnptrsn posted a new question

adonuxt-template • 4 months ago

Possible to use @adonisjs/websocket-client?

Hi. Is it possible to use @adonisjs/websocket-client with nuxt? If so, how? When I try:
resources/plugins/ws.js

import ws from '@adonisjs/websocket-client'
const wsVuePlugin = function (Vue, url, options) {
  Vue.prototype.$io = ws(url, options)
}
Vue.use(wsVuePlugin, 'http://localhost:3000', {})

I get a log saying: ReferenceError: regeneratorRuntime is not defined

I am importing the plugin like this:
{ src: '@/plugins/ws', ssr: false } (no ssr, since it didn't work at all with ssr on.)

Thanks.

jericopulvera

jericopulvera posted a new question

adonuxt-template • 5 months ago

Dev Server Not Watching Changes On adonis routes.js file

Dev Server Not Watching Changes On adonis routes.js file

whenever I save changes made on adonis routes.js file the server does not reload.
It works on controller.

eromanov

eromanov posted a new question

adonuxt-template • 5 months ago

Connecting from other devices on local network

Hi guys,

I'm running Adonuxt on Win 10, and I can't seem to get to connect to my app from other devices on the same network. I have tried multiple things (changing the host IP address in the .env file, adding connect() listener to server.js, mapping ports in my hosts file, etc - pretty much everything you'd do to get access to Express on local network), but no luck so far. Any ideas where I could be going wrong?

hkmsadek

hkmsadek posted a new question

adonuxt-template • 5 months ago

adonis new --blueprint nuxt-community/adonuxt-template myproject command is not working

Whenever I am trying to install a project it is not installing the project dependencies via npm install.

This is the error I get http://prntscr.com/ind29r
`// __,|_/|| |||/_/|/

[1/6] 🔬 Requirements matched [node & npm]
[2/6] 🔦 Ensuring project directory is clean [myproject]
[3/6] 📥 Cloned [nuxt-community/adonuxt-template]
[4/6] ❌ Installation failed

ERROR Command failed: npm install
npm WARN registry Unexpected warning for https://registry.npmjs.org/: Miscellaneous Warning EINTEGRITY: sha512-gckyXwSkfWCWF3y3D5qkG9Ls4U9ITsDzmsVp9uzUS8M1j+e2yVPiBs5G6AedOIy766xJ+dkgpYCNX2ZzXlBpTA== integrity checksum failed when using sha512: wanted sha512-gckyXwSkfWCWF3y3D5qkG9Ls4U9ITsDzmsVp9uzUS8M1j+e2yVPiBs5G6AedOIy766xJ+dkgpYCNX2ZzXlBpTA== but got sha512-cBFNcNgihbi+F13nJY5nUS37z25b1EkSRXzUv/tKd/6ZOjYXSlec9iOFbfdh1Q/FdvjG9LMjegLlXH94K2zgNA==. (27713 bytes)
npm WARN registry Using stale package data from https://registry.npmjs.org/ due to a request error during revalidation.
npm ERR! code EINTEGRITY
npm ERR! errno EINTEGRITY
npm ERR! Invalid response body while trying to fetch https://registry.npmjs.org/cross-env: Integrity verification failed for sha512-gckyXwSkfWCWF3y3D5qkG9Ls4U9ITsDzmsVp9uzUS8M1j+e2yVPiBs5G6AedOIy766xJ+dkgpYCNX2ZzXlBpTA== (C:\Users\JOKER\AppData\Roaming\npm-cache_cacache\content-v2\sha512\81\c9\325f04a47d6096177cb70f9aa41bd2ece14f484ec0f39ac569f6ecd44bc3358fe7b6c953e206ce46e8079d388cbbebac49f9d920a5808d5f66735e50694c)

npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\JOKER\AppData\Roaming\npm-cache_logs\2018-03-05T235301_936Z-debug.log

HELP You can manually install dependencies by running npm install`

hkmsadek

hkmsadek posted a new question

adonuxt-template • 5 months ago

How to use the updated versions of adonis

It seems it downloads older packages of adonis. how can I use the updated versions of all adonis packages?

koolay

koolay posted a new question

adonuxt-template • 6 months ago

[Suggest]use lerna split package.json of frontend and backend

It's a great tool to manage the large javascript project.
lerna

cawa-93

cawa-93 posted a new question

adonuxt-template • 6 months ago

Nuxt compiles in production mode

When I run the command npm run build && npm start
That is compiled twice: the first time from the build command, and the second time during the startup. As far as I know, it must be compiled during start-up only in development mode

hkmsadek

hkmsadek posted a new question

adonuxt-template • 6 months ago

How to call api for json data and show them in nuxt pages?

Please help me with at least the concept. I have two questions actually.

  1. How can I show data from an api end point? Let's say I have 10 products which I retrieve by calling a json end point. How can I show them in the .vue file?
  2. If I create a pagination with ajax (axios) and bring json data as more data, will the html out puts be shown in source code or a blank js as how we always see in a spa or ajax page. I mean how can I make a pagination where the html tags with data will be visible for better SEO?

Thank you. I am expecting at least some concept. Please pardon me I am very new to nuxt js. Thank you.

jamesAtcodeninja

jamesAtcodeninja posted a new question

adonuxt-template • 6 months ago

nuxt generate

I created a NuxtGenerate ace command with the following code

class NuxtGenerate extends Command {
  /**
   * signature defines the requirements and name
   * of command.
   *
   * @return {String}
   */
  get signature () {
    return 'nuxtGenerate';
  }

  /**
   * description is the little helpful information displayed
   * on the console.
   *
   * @return {String}
   */
  get description () {
    return 'Generate for production the nuxt.js application.';
  }

  /**
   * handle method is invoked automatically by ace, once your
   * command has been executed.
   *
   * @param  {Object} args    [description]
   * @param  {Object} options [description]
   */
  * handle (args, options) {
    const config = Config.get('nuxt');
    config.dev = false;
    config.mode = 'spa';
    this.nuxt = new Nuxt(config);
    const builder = new Builder(this.nuxt);
    this.info('Generating nuxt.js application...');
    yield new Generator(this.nuxt, builder).generate();
  }
}

However, the generated code does not render the HTML from javascript.
Has anyone experienced using nuxt generate with adonuxt?

mikadev001

mikadev001 posted a new question

adonuxt-template • 6 months ago

Adonis 4.1

4.1 is out, possible upgrades?

Sypley

Sypley posted a new question

adonuxt-template • 7 months ago

Cannot run migration

Hello there !

I'm a beginner in Adonis and I was making my first migration.
When I do adonis make:migration <table-name>, it works, but when I try to do adonis migration:run, I got this message :

{ Error: Cannot find module 'Adonis/Commands/Auth:Setup' at Function.Module._resolveFilename (module.js:536:15) at Function.Module._load (module.js:466:25) at Module.require (module.js:579:17) at require (internal/module.js:11:18) at requireStack (/Users/Jawed/Desktop/Heroku/ffnsw copie 2/node_modules/require-stack/src/index.js:44:12) at Ioc._require (/Users/Jawed/Desktop/Heroku/ffnsw copie 2/node_modules/@adonisjs/fold/src/Ioc/index.js:331:12) at Ioc.use (/Users/Jawed/Desktop/Heroku/ffnsw copie 2/node_modules/@adonisjs/fold/src/Ioc/index.js:728:17) at Kernel.addCommand (/Users/Jawed/Desktop/Heroku/ffnsw copie 2/node_modules/@adonisjs/ace/src/Kernel/index.js:139:24) at commands.forEach (/Users/Jawed/Desktop/Heroku/ffnsw copie 2/node_modules/@adonisjs/ignitor/src/Ignitor/index.js:413:39) at Array.forEach (<anonymous>) at Ignitor._registerCommands (/Users/Jawed/Desktop/Heroku/ffnsw copie 2/node_modules/@adonisjs/ignitor/src/Ignitor/index.js:413:14) at Ignitor.fire (/Users/Jawed/Desktop/Heroku/ffnsw copie 2/node_modules/@adonisjs/ignitor/src/Ignitor/index.js:631:12) at <anonymous> at process._tickCallback (internal/process/next_tick.js:188:7) at Function.Module.runMain (module.js:678:11) at startup (bootstrap_node.js:187:16) code: 'MODULE_NOT_FOUND' }

And I really don't know what to do.
Thanks.

moraleslevi

moraleslevi posted a new question

adonuxt-template • 7 months ago

Live Demo not working

The Live Demo listed in the documentation is not working:

https://ado.nuxtjs.org/

This kind of reflects poorly on the application itself and/or zeit.co.

Evald24

Evald24 posted a new question

adonuxt-template • 7 months ago

How to send a message via smtp

How to send a message via smtp?
https://adonisjs.com/docs/4.0/mail

Please could you give examples of how to do it correctly

pirmax

pirmax posted a new question

adonuxt-template • 7 months ago

What is the configuration for Heroku?

Hi,

I started a project with this repo.
What is the configuration for Heroku?
I'm a beginner :)

Thanks.

RaymondLC92

RaymondLC92 posted a new question

adonuxt-template • 7 months ago

Ensure compatability with 1.0 Proper

Having strange compatibility issues when our package.json allows Nuxt 1.0.0-rc11 to upgrade to 1.0.0.

Did something alter the plugins structure?

Error: Cannot find module "."
utils.js:3
[HMR] connected
client.js?name=client&reload=tru:87
[HMR] bundle has 2 warnings
client.js?name=client&reload=tru:183
./nodemodules/use/utils.js 3:34-41 Critical dependency: require function is used in a way in which dependencies cannot be statically extracted @ ./nodemodules/use/utils.js
@ ./nodemodules/use/index.js @ ./nodemodules/snapdragon/lib/compiler.js
@ ./nodemodules/snapdragon/index.js @ ./nodemodules/nuxt/nodemodules/micromatch/lib/utils.js @ ./nodemodules/nuxt/nodemodules/micromatch/index.js @ ./nodemodules/filter-array/index.js
@ ./nodemodules/array-intersection/index.js @ ./nodemodules/vue-tables-2/compiled/methods/has-date-filters.js
@ ./nodemodules/vue-tables-2/compiled/mixins/methods.js @ ./nodemodules/vue-tables-2/compiled/table.js
@ ./nodemodules/vue-tables-2/compiled/v-server-table.js @ ./nodemodules/vue-tables-2/compiled/index.js
@ ./plugins/vue-tables-2.js
@ ./.nuxt/index.js
@ ./.nuxt/client.js
@ multi webpack-hot-middleware/client?name=client&reload=true&timeout=30000&path=/_webpackhmr ./.nuxt/client.js
./node_modules/class-utils/utils.js

3:34-41 Critical dependency: require function is used in a way in which dependencies cannot be statically extracted
@ ./nodemodules/class-utils/utils.js @ ./nodemodules/class-utils/index.js
@ ./nodemodules/base/index.js @ ./nodemodules/snapdragon/index.js
@ ./nodemodules/nuxt/nodemodules/micromatch/lib/utils.js
@ ./nodemodules/nuxt/nodemodules/micromatch/index.js
@ ./nodemodules/filter-array/index.js @ ./nodemodules/array-intersection/index.js
@ ./nodemodules/vue-tables-2/compiled/methods/has-date-filters.js @ ./nodemodules/vue-tables-2/compiled/mixins/methods.js
@ ./nodemodules/vue-tables-2/compiled/table.js @ ./nodemodules/vue-tables-2/compiled/v-server-table.js
@ ./nodemodules/vue-tables-2/compiled/index.js @ ./plugins/vue-tables-2.js @ ./.nuxt/index.js @ ./.nuxt/client.js @ multi webpack-hot-middleware/client?name=client&reload=true&timeout=30000&path=/webpackhmr ./.nuxt/client.js

2:25