https://github.com/geeks-solutions/vue-cli-plugin-sections
https://github.com/geeks-solutions/vue-cli-plugin-sections
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/geeks-solutions/vue-cli-plugin-sections
- Owner: Geeks-Solutions
- License: mit
- Created: 2022-06-27T07:49:57.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2025-02-04T14:14:50.000Z (5 months ago)
- Last Synced: 2025-02-04T15:24:42.880Z (5 months ago)
- Language: JavaScript
- Size: 312 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 16
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# vue-cli-plugin-sections
A Vue js plugin to install and configure [@geeks-solutions/vue-sections](https://www.npmjs.com/package/@geeks-solutions/vue-sections) library.
### How to install vue-cli-plugin-sections plugin:
- npm i @geeks.solutions/vue-cli-plugin-sections
### How to run the plugin:
- vue invoke @geeks.solutions/vue-cli-plugin-sections
The plugin will prompt you to answer three questions:
````
? What is your project url: http://localhost:8000
? What is your project ID: 1d23few45rw213qd6
? Add vue-sections configuration with first sections page Yes
````### What does the plugin perform:
* Add "@geeks-solutions/vue-sections" to you package.json + its required dependencies and install them:
- "bootstrap-vue"
- "cookie-universal-nuxt"
- "nuxt-i18n"* Update nuxt.config.js with plugin and modules required by vue-sections.
* Create file configuration with your project url and id under /plugins/sections.js.
* Create file configuration for i18n required by the library under /lang/en.js
* Create a configured first page with sections under /pages/Sections.vue only if answered yes on the third question
``? Add vue-sections configuration with first sections page Yes``