@dizmo/generator-dizmo-vue
v2.1.29
Published
@dizmo/dizmo-vue: a dizmo generator for Vue.js projects
Downloads
104
Readme
@dizmo/generator-dizmo-vue
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.
Package Installation
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.
Project Generation
yo @dizmo/dizmo-vue [--git]
CLI Help
yo @dizmo/dizmo-vue --help
Project Upgrade
npm upgrade -g @dizmo/generator-dizmo-vue
Then, within an existing project:
yo @dizmo/dizmo-vue --upgrade
FAQ
Is ES6 supported?
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.
Further Information
See the description of the main @dizmo/generator-dizmo package for a more exhaustive documentation.
Copyright
© dizmo AG, Switzerland