🌐 AI搜索 & 代理 主页
Skip to content

Commit 2b35b11

Browse files
authored
Merge branch 'dev' into feat-pagination-btn-classes-and-first-last-numbers
2 parents 1ed2ff7 + 27f066c commit 2b35b11

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

nuxt/index.js

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,12 @@ const srcIndex = 'bootstrap-vue/src/index.js'
1111
// --- Utility methods ---
1212

1313
// Converts PascalCase or camelCase to kebab-case
14-
export const kebabCase = str => {
14+
const kebabCase = str => {
1515
return str.replace(RX_HYPHENATE, '-$1').toLowerCase()
1616
}
1717

1818
// Converts a kebab-case or camelCase string to PascalCase
19-
export const pascalCase = str => {
19+
const pascalCase = str => {
2020
str = kebabCase(str).replace(RX_UN_KEBAB, (_, c) => (c ? c.toUpperCase() : ''))
2121
return str.charAt(0).toUpperCase() + str.slice(1)
2222
}
@@ -161,7 +161,8 @@ module.exports = function nuxtBootstrapVue(moduleOptions = {}) {
161161
if (
162162
templateOptions.treeShake &&
163163
templateOptions.icons &&
164-
templateOptions.componentPlugins.indexOf('IconsPlugin') === -1
164+
templateOptions.componentPlugins.indexOf('IconsPlugin') === -1 &&
165+
templateOptions.componentPlugins.indexOf('BootstrapVueIcons') === -1
165166
) {
166167
templateOptions.componentPlugins.push('IconsPlugin')
167168
}

src/components/form-tags/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
> Lightweight custom tagged input form control, with options for customized interface rendering,
44
> duplicate tag detection and optional tag validation.
55
6-
Tags are arrays of short strings, used in various ways such as assinging categories. Use the default
6+
Tags are arrays of short strings, used in various ways such as assigning categories. Use the default
77
user interface, or create your own custom interface via the use of the default scoped slot.
88

99
The tagged input was added in BootstrapVue release `v2.2.0`.

0 commit comments

Comments
 (0)