How to configure vue-preview?

https://github.com/LS1231/vue.
has a configuration after the package is introduced on the official website, but this sentence
Vue.use (preview, {})
does not explain how preview came into being, resulting in an error. How to use this?


the official website can configure other pages to be used directly in main.js.


I think he wrote it wrong. I think it should be the name of the quoted package. My name is VuePreview . The name of the package is whatever you define, and the name is written there, ok.
I have also seen another way to write page tags, not using < vue-preview > is a direct img tag, and then there is a click event called $preview.open () . Here I always report wrong, and it is useless to change my name.

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b3fb56-2c4cf.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b3fb56-2c4cf.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?