-
-
Notifications
You must be signed in to change notification settings - Fork 133
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to use it in Nuxt.js #112
Comments
ok, it work, set
|
But with |
What worked for me was including the generated ssr dist file instead of the default. I don't know how or why a separate file is generated but it works for me 🤷♂ For example in a nuxt plugin: import Vue from 'vue';
import VueJsToggleButton from 'vue-js-toggle-button';
Vue.use(VueJsToggleButton); After: import Vue from 'vue';
import VueJsToggleButton from 'vue-js-toggle-button/dist/ssr.index';
Vue.use(VueJsToggleButton); |
Not working when I run |
@EdwinHoksberg You saved my day! if you need anything from my API let me know! |
@euvl @EdwinHoksberg's solution of loading |
It's the same issue. |
i think it because nuxt load
dist/index.js
, not load'dist/ssr.index.jsThe text was updated successfully, but these errors were encountered: