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

Double loading vue with message You are running Vue in development mode. #70

Open
Sebarkar opened this issue Aug 9, 2020 · 3 comments

Comments

@Sebarkar
Copy link

Sebarkar commented Aug 9, 2020

2020-08-09

`import VueFusionCharts from 'vue-fusioncharts';
import FusionCharts from 'fusioncharts';
import Charts from 'fusioncharts/fusioncharts.charts';
import FusionTheme from 'fusioncharts/themes/fusioncharts.theme.fusion';

Vue.use(VueFusionCharts, FusionCharts, Charts, FusionTheme);`

When I commented this code Vue working as expected.

@Casal0x
Copy link

Casal0x commented Oct 14, 2020

Yes i have the same issue, but its happening from fusioncharts on production mode.

@UZaitsau
Copy link

I have the same issues:

  • duplicating of the warning in dev mode
  • warning even in production mode

I guess that main reason for that is validation checks in library code like process.env.NODE_ENV !== 'production'.
The process object during the building stage provides information about the current Node.js process. But in runtime it belongs to browser.
I'm using webpack as a bundler.
Any thoughts?

@ghost
Copy link

ghost commented Aug 20, 2021

Just wanted to chime in to say I'm seeing this issue as well. It appears that the entire dev mode version of Vue (version 2.5.17) is included in both the dist/vue-fusioncharts.js and dist/vue-fusioncharts.min.js files. Most people will already be importing Vue with their own bundler or via CDN and don't need this other copy showing up.

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