Closed
Description
Hi, im using bootstrap-vue with Nuxtjs 2.4.3. But today, after upgrade to 13rc. My app has an error:
TypeError: Cannot read property 'replace' of null at stripTags (vendors.app.js:29975)
And at line 29975 of vendor
/***/ "./node_modules/bootstrap-vue/es/utils/html.js":
/*!*****************************************************!*\
!*** ./node_modules/bootstrap-vue/es/utils/html.js ***!
\*****************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
exports.__esModule = true;
exports.stripTags = stripTags;
exports.htmlOrText = htmlOrText;
var stripTagsRegex = /(<([^>]+)>)/gi;
function stripTags() {
var text = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : '';
return text.replace(stripTagsRegex, '');
}
I'm try to revert bootstrap-vue to 11rc but error still happen. Can someone explain what i'm doing wrong?