Forgot to add VSwitch Vuetify component
This commit is contained in:
parent
431ccd5865
commit
0d0a5d85d6
@ -55,6 +55,14 @@ adapt the behavior to your needs.
|
|||||||
You should also have a look at the build variables under the `config/`
|
You should also have a look at the build variables under the `config/`
|
||||||
subdirectory.
|
subdirectory.
|
||||||
|
|
||||||
|
#### Notes
|
||||||
|
|
||||||
|
We are using [A la carte](https://vuetifyjs.com/en/guides/a-la-carte) Vuetify
|
||||||
|
components to reduce the size of the build. Check that any extra components
|
||||||
|
you might use is indeed included in `src/vuetify.js` file. The `yarn
|
||||||
|
list-vuetify-components` command might be useful to help you determine which
|
||||||
|
components are used across the code.
|
||||||
|
|
||||||
|
|
||||||
### Server part
|
### Server part
|
||||||
|
|
||||||
|
@ -10,7 +10,8 @@
|
|||||||
"lint": "eslint --ext .js,.vue src",
|
"lint": "eslint --ext .js,.vue src",
|
||||||
"build": "node build/build.js",
|
"build": "node build/build.js",
|
||||||
"push-locales": "json2po -P -i src/i18n/en.json -t src/i18n/en.json -o po/cyclassist.pot && zanata push",
|
"push-locales": "json2po -P -i src/i18n/en.json -t src/i18n/en.json -o po/cyclassist.pot && zanata push",
|
||||||
"pull-locales": "zanata pull && ./.po2json.sh"
|
"pull-locales": "zanata pull && ./.po2json.sh",
|
||||||
|
"list-vuetify-components": "ack '<v-' src | sed -e 's/^src\\/.*:[[:space:]]*<//' | grep '^v-' | sed -e 's/\\(v-[^[:space:]>]*\\).*/\\1/' | sort | uniq"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"es6-promise": "^4.2.4",
|
"es6-promise": "^4.2.4",
|
||||||
|
@ -14,6 +14,7 @@ import VList from 'vuetify/es5/components/VList';
|
|||||||
import VMenu from 'vuetify/es5/components/VMenu';
|
import VMenu from 'vuetify/es5/components/VMenu';
|
||||||
import VProgressLinear from 'vuetify/es5/components/VProgressLinear';
|
import VProgressLinear from 'vuetify/es5/components/VProgressLinear';
|
||||||
import VSelect from 'vuetify/es5/components/VSelect';
|
import VSelect from 'vuetify/es5/components/VSelect';
|
||||||
|
import VSwitch from 'vuetify/es5/components/VSwitch';
|
||||||
import VTextField from 'vuetify/es5/components/VTextField';
|
import VTextField from 'vuetify/es5/components/VTextField';
|
||||||
import VToolbar from 'vuetify/es5/components/VToolbar';
|
import VToolbar from 'vuetify/es5/components/VToolbar';
|
||||||
|
|
||||||
@ -33,6 +34,7 @@ Vue.use(Vuetify, {
|
|||||||
VMenu,
|
VMenu,
|
||||||
VProgressLinear,
|
VProgressLinear,
|
||||||
VSelect,
|
VSelect,
|
||||||
|
VSwitch,
|
||||||
VTextField,
|
VTextField,
|
||||||
VToolbar,
|
VToolbar,
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user