remove console log and comments
This commit is contained in:
6
index.js
6
index.js
@@ -9,14 +9,8 @@ function install(app) {
|
|||||||
app.component(VButton.name, VButton);
|
app.component(VButton.name, VButton);
|
||||||
app.component(VInput.name, VInput);
|
app.component(VInput.name, VInput);
|
||||||
app.component(VSelect.name, VSelect);
|
app.component(VSelect.name, VSelect);
|
||||||
console.log(app)
|
|
||||||
app.config.globalProperties.$q.iconMapFn = (iconName) => {
|
app.config.globalProperties.$q.iconMapFn = (iconName) => {
|
||||||
// iconName is the content of QIcon "name" prop
|
|
||||||
|
|
||||||
// your custom approach, the following
|
|
||||||
// is just an example:
|
|
||||||
if (iconName.startsWith('app:') === true) {
|
if (iconName.startsWith('app:') === true) {
|
||||||
// we strip the "app:" part
|
|
||||||
const name = iconName.substring(4)
|
const name = iconName.substring(4)
|
||||||
|
|
||||||
return {
|
return {
|
||||||
|
|||||||
Reference in New Issue
Block a user