File tree Expand file tree Collapse file tree 1 file changed +17
-1
lines changed
Expand file tree Collapse file tree 1 file changed +17
-1
lines changed Original file line number Diff line number Diff line change 5252| --- | --- |
5353| change | Triggered whenever state of the component changes. <br >Contains: <br >` value ` - state of the object <br >` srcEvent ` - source click event |
5454
55+ ### SSR
56+
57+ Include plugin in your nuxt.config.js file:
58+ ```
59+ module.exports = {
60+ plugins: ['~plugins/vue-js-toggle-button']
61+ }
62+ ```
63+ And your plugins/vue-js-modal.js will look like:
64+ ```
65+ import Vue from 'vue'
66+ import Button from 'vue-js-toggle-button/dist/ssr.index'
67+
68+ Vue.use(Button)
69+ ```
70+
5571### Browser compatibility
5672
5773* Chrome: 48+
5874* Firefox: 28+
5975* Safari: 10.1+
60- * Edge: :pray : for Microsoft
76+ * Edge: :pray : for Microsoft (works but width/height will be set to default in older versions)
6177
6278### Font size
6379To change font size please use basic css:
You can’t perform that action at this time.
0 commit comments