Vue Component Browser for Gridsome
Easily display your vue components
Getting Started
Setup
- Run
git clone https://github.com/u12206050/gridsome-vue-starter.git
- Run
cd gridsome-vue-starter
- Run
npm install
- Run
npm start
Adding Components
- Organize all components you want to browse in the
src/library
folder - Add
faker.hacker.phrase
functions as comments above your props. View Faker Functions →
Props
Adding predefined options to list for a prop:
Add a comment right above the type of the prop containing a csv list of options prefixed with the phrase options:
You can optionally specify a default value.