vue-cli-plugin-platformsh
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
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 | |
| 1.0.5 | MIT | |
| 1.0.4 | MIT | |
| 1.0.3 | MIT | |
| 1.0.2 | MIT | |
| 1.0.1 | MIT |