vueify

vueify (in gulp task) with babel transform of vue files

﹥>﹥吖頭↗ 提交于 2020-01-03 17:19:12
问题 fixed. The solution is to: pass through .transform(babelify) as well ensure all your .vue -file script elements look like <script type="text/javascript"> -- that type attribute must come before custom attributes, lang attribute.. might ahve to be the first, even only attribute on the tag. I think my problem is that I have es6 in my vues. I am getting: [09:33:36] Starting 'public'... events.js:160 throw er; // Unhandled 'error' event ^ SyntaxError: 'import' and 'export' may appear only with

How can you reload vuejs after application update on server

♀尐吖头ヾ 提交于 2019-12-25 03:17:15
问题 I have a scenario where there is a necessity that the users reload the vuejs app to get the latest vue app version when i update the whole application in the server including the backend APIs. Suppose there is a chance that a user using the vue app version 1.1 already on production, will still be continuing to use the same even after the update at server (ie to 1.2). In such cases the backend APIs might have changed and it would break. Any short and easy ways/methods to solve the above? 来源: