decaporg / decaporg/decap-cms

Support Vue custom preview template

Open
#2,183 30 comments 43 reactions 0 assignees View on GitHub
area: extensions/preview-templates kind: feature pinned
Dominant language
JavaScript
Stars
19.4k
Forks
3.1k
Avg merge
1d 14h
Merged PRs (30d)
9

Description

_Could not find any issues that dealt with this, with the possible exception of #1041.

**Is your feature request related to a problem? Please describe.**

When developing a Vue project utilizing Netlify CMS I cannot import the Vue components as a custom preview template, as I can a React component.

**Describe the solution you'd like**

It would be nice to import (Gridsome) Vue template components and register them as custom preview templates.

**Describe alternatives you've considered**

The proposed Handlebars-like syntax mentioned in the issue above may be the closest thing we can get?

**Additional context**

_N/A_

Contributor guide

Open the contributing guide

Research direction

No files or tests are named. Start by reviewing the existing React custom preview-template support and the related issue #1041, then determine the project entry points and tests needed for importing and registering Vue components; done means Vue components work as custom preview templates.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.