vue-cli-plugin-platformsh

vue-cli plugin to add Platform.sh configuration files to a Vue.js project
2,105
Install
npm install vue-cli-plugin-platformsh
Latest Version:1.1.1
License:MIT
Last Updated:Mar 14, 2019
Links: GitHub  ·  npm
Maintainer: guguss

vue-cli-plugin-platformsh

Platform.sh plugin for @vue/cli 3.0.

This plugin will generate the Platform.sh configuration files for your Vue.js project using Vue CLI.

Install

First you need to install @vue/cli globally (follow the instructions here).

If you start a new project, create the project with Vue CLI:

vue create my-vue-project

Add the Platform.sh plugin:

cd my-vue-project
vue add platformsh

Fetch Platform.sh environment variables

The plugin will automatically extract the Platform.sh environment variables.

To fetch those, you simply need to import the following package:

import platformshVar from 'platformsh_variables'

Related Packages

vue-cli-plugin-vant

vue-cli 3 plugin to add vant

1,973
vue-cli-plugin-element

vue-cli 3 plugin to add element-ui

177,437 821
vue-cli-plugin-vue-i18n

vue-cli 3 plugin to add vue-i18n

6,615
vue-cli-plugin-gtest

vue-cli 3 plugin to add element-ui

3,655 821
vue-cli-plugin-access

vue-cli 3 plugin to add A55 presets

1,401

Version History

Version Released License
1.1.1 MIT
1.1.0 MIT
1.0.8 MIT
1.0.7 MIT
1.0.6 MIT