balderdashy / balderdashy/sails
Import vuejs component
- Dominant language
- JavaScript
- Stars
- 22.8k
- Forks
- 1.9k
- PR merge metrics
- No merged PRs in 30d
Description
**Sails version**:1.0.2
**Node version**:8.11.2
**NPM version**: 5.6.0
**DB adapter name**:sails-postgres
**DB adapter version**:1.0.1
**Operating system**:Linux
**Expected behaviour**
Hi
Is it possible in parasails.registerComponent file to import class ES6 from other existing component ?
I create a component and it depend on another component VueJS so I need to import it and add as a component on my Sails app.
If you look at this gist https://gist.github.com/craigh411/c274a29ca331041fa6f3666756339634, I want to import vue component to enrich my form on page by adding select2 with a new existing component.
Ore like this another component https://vue-treeselect.js.org/ which requiert `import` ES6. It could be good if I can use it with `import`.
Thanks.
Contributor guide
Research direction
Start by reviewing the parasails.registerComponent entry point and the linked examples for their component-import requirements. Compare the requested ES6 imports with the existing component registration flow; done should mean a documented, working way to use components such as select2 or vue-treeselect.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100