PHPackages                             benmanu/recipe-vue-cli - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. benmanu/recipe-vue-cli

ActiveSilverstripe-recipe

benmanu/recipe-vue-cli
======================

SilverStripe recipe for Vue CLI

1241JavaScript

Since Nov 6Pushed 7y agoCompare

[ Source](https://github.com/benmanu/recipe-vue-cli)[ Packagist](https://packagist.org/packages/benmanu/recipe-vue-cli)[ RSS](/packages/benmanu-recipe-vue-cli/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

recipe-vue-cli
==============

[](#recipe-vue-cli)

An opinionated frontend build for SilverStripe 4 sites. Adds a new theme `app` containing all source files. Uses [Vue CLI](https://cli.vuejs.org/) to handle the frontend build. See the [docs](./docs/en/) for more details.

Installation
------------

[](#installation)

```
composer require-recipe benmanu/recipe-vue-cli
```

Update the recipe:

```
composer update-recipe benmanu/recipe-vue-cli
```

Update project files
--------------------

[](#update-project-files)

These are some changes to make to the project to get everything up and running.

### composer.json

[](#composerjson)

Add the following to the project `composer.json` file config:

```
{
  "extra": {
    "expose": [
      "themes/app/dist"
    ]
  }
}
```

Then run to sync it to the public directory:

```
composer vendor-expose
```

### .editorconfig

[](#editorconfig)

Add the following:

```
[*.{js,jsx,ts,tsx,vue}]
indent_style = space
indent_size = 2
end_of_line = lf
trim_trailing_whitespace = true
insert_final_newline = true
max_line_length = 100

```

### .gitignore

[](#gitignore)

Add the following:

```
.DS_Store
node_modules

# local env files
.env.local
.env.*.local

# Log files
npm-debug.log*
yarn-debug.log*
yarn-error.log*

# Editor directories and files
.idea
.vscode
*.suo
*.ntvs*
*.njsproj
*.sln
*.sw*

```

### app/\_config/theme.yml

[](#app_configthemeyml)

Replace with the following:

```
---
Name: mytheme
---
SilverStripe\View\SSViewer:
  themes:
    - '$public'
    - 'app'
    - '$default'
```

Guide
-----

[](#guide)

See the [frontend build documentation](./docs/en/frontend-build.md) for more information.

See the [frontend development documentation](./docs/en/frontend-development) for coding conventions etc.

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity39

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/fd2e09e14a1ce6be58b3d759414e939d20dc58662e511e1d561d16b7385141ee?d=identicon)[benmanu](/maintainers/benmanu)

---

Top Contributors

[![benmanu](https://avatars.githubusercontent.com/u/1373344?v=4)](https://github.com/benmanu "benmanu (32 commits)")

### Embed Badge

![Health badge](/badges/benmanu-recipe-vue-cli/health.svg)

```
[![Health](https://phpackages.com/badges/benmanu-recipe-vue-cli/health.svg)](https://phpackages.com/packages/benmanu-recipe-vue-cli)
```

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
