Skip to content

Commit 94ad4aa

Browse files
committed
Remove default export, rename global object to VueFlowForm
1 parent a844dd6 commit 94ad4aa

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

build/rollup.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ const globals = {
1515
vue: 'Vue'
1616
}
1717

18-
const componentName = 'FlowForm'
18+
const componentName = 'VueFlowForm'
1919

2020
export default [
2121
{

src/main.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,8 @@ import QuestionModel, { QuestionType, ChoiceOption, LinkOption, MaskPresets } fr
55
import LanguageModel from './models/LanguageModel'
66

77
// To allow use as module (npm/webpack/etc.) export component
8-
export default FlowForm
9-
108
export {
9+
FlowForm,
1110
Question,
1211
QuestionModel,
1312
QuestionType,

0 commit comments

Comments
 (0)