@isneezy/vue-selectize
Version:
Vanila Vue.js component that mimics Selectize behaviour (no need jquery dependency) with extras
69 lines (67 loc) • 1.78 kB
JavaScript
const path = require('path')
module.exports = {
title: 'Vue Selectize',
description: ' Vanila Vue.js component that mimics Selectize behaviour (no need jquery dependency)',
// base: '/vue-selectize/',
ga: 'UA-105706124-2',
head: [
['link', { rel: 'stylesheet', type: 'text/css', href: 'https://cdn.jsdelivr.net/npm/selectize@0.12.6/dist/css/selectize.default.css' }],
['link', { rel: 'stylesheet', type: 'text/css', href: 'https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css' }],
['link', { rel: 'stylesheet', type: 'text/css', href: 'https://unpkg.com/tailwindcss@^1.0/dist/tailwind.min.css' }]
],
themeConfig: {
repo: 'isneezy/vue-selectize',
editLinks: true,
docsDir: 'docs',
editLinkText: 'Help us improve this page!',
nav: [
{text: 'Home', link: '/'},
{text: 'Guide', link: '/guide/'},
{text: 'Changelog', link: 'https://github.com/isneezy/vue-selectize/blob/master/CHANGELOG.md'}
],
sidebar: [
{
title: 'Guide',
collapsable: false,
children: [
'/guide/',
'/guide/examples/'
]
},
{
title: 'API',
collapsable: false,
children: [
'/api/props',
'/api/slots'
]
}
]
},
configureWebpack: {
resolve: {
alias: {
'@isneezy/vue-selectize': path.resolve(__dirname, '../../src/components/VSelectize')
}
}
}
}
function genSidebarConfig (title) {
return [
{
title,
collapsable: false,
children: [
'',
'getting-started',
'basic-config',
'assets',
'markdown',
'using-vue',
'custom-themes',
'i18n',
'deploy'
]
}
]
}