Sub-generator to create dizmo projects with support for vue: This package is meant to be used in composition with the main @dizmo/generator-dizmo package.
npm install -g yo
npm install -g @dizmo/generator-dizmo-vue
Note: On most operating systems the -g
option (shortcut for --global
) requires super user (administrator) rights. Due to security considerations however, avoid using such a privileged account and see the (external) FAQ to be able to install global packages as a regular user.
yo @dizmo/dizmo-vue [--git]
yo @dizmo/dizmo-vue --help
npm upgrade -g @dizmo/generator-dizmo-vue
Then, within an existing project:
yo @dizmo/dizmo-vue --upgrade
While ES6 is fully supported in regular src/**/*.js
scripts, in Vue components (src/**/*.vue
) only ES5 can be used. This limitation is due to the vueify
plugin of the browserify
bundler. However, in the Vue components it is possible to import ES6 scripts.
See the description of the main @dizmo/generator-dizmo package for a more exhaustive documentation.
© dizmo AG, Switzerland