Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in /www/chergeek/wp-content/plugins/seo-ultimate/modules/class.su-module.php on line 1195
Vue.js | Cher Geek
Skip to content

Cher Geek

Recent Posts

  • Use global vars with webpack and Vue.js
  • Certificat ssl gratuit certbot
  • Spam google analytics
  • Symfony3 et Dpn XML Sitemap Bundle
  • Configuration de wordPress avec nginx, php-fpm et une dose de ssl

Category: Vue.js

Use global vars with webpack and Vue.js

Webpack

Open config/dev.env.js and in the merge function below NODE_ENV (…), add the following global var for the development environment:
MY_VAR: JSON.stringify('dev_value')

Continue reading “Use global vars with webpack and Vue.js” »

Posted on 15 April 201816 April 2018Categories Vue.jsLeave a comment on Use global vars with webpack and Vue.js
Proudly powered by WordPress