Skip to content
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

Nuxt #60

Closed
fjbardelli opened this issue Sep 14, 2019 · 2 comments
Closed

Nuxt #60

fjbardelli opened this issue Sep 14, 2019 · 2 comments

Comments

@fjbardelli
Copy link

Is this Lib, compatible with nuxt?

@darthf1
Copy link

darthf1 commented Sep 16, 2019

Generally, all Vue libraries are compatible with Nuxt, you just need to 'install' them as a client-only plugin.

./plugins/vuejs-dialog.js

import Vue from 'vue'
import VuejsDialog from 'vuejs-dialog'
import 'vuejs-dialog/dist/vuejs-dialog.min.css'

Vue.use(VuejsDialog)
./nuxt.config.js

plugins: [
  { src: '~/plugins/vuejs-dialog', mode: 'client' }
]

@fjbardelli
Copy link
Author

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants