balderdashy / balderdashy/sails

How to use a Vue component in Layout ?

Open
#6,948 6 comments 0 reactions 0 assignees View on GitHub
helpful info or workaround parasails question
Dominant language
JavaScript
Stars
22.8k
Forks
1.9k
PR merge metrics
No merged PRs in 30d

Description

**Node version**: v10.16.3
**Sails version** _(sails)_: 1.2.3


Hello,

I try to use a vue component in layout.ejs but we can't. I created a component for the navbar and now I need to put the navbar in layout.ejs.

Do you have any idea ?

Thanks a lot

Contributor guide

Open the contributing guide

Research direction

Review the six-comment thread and the Sails view documentation around layout.ejs, then verify how Vue components are expected to integrate with the layout. The issue does not name a source file or test; done would be a clear documented answer or example covering the navbar use case.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, node.js
Domain
frontend, web-dev
Issue type
Documentation
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.