https://github.com/mismith/vue-primer
Interactive Vue3 components based on Primer CSS framework
https://github.com/mismith/vue-primer
Last synced: 5 months ago
JSON representation
Interactive Vue3 components based on Primer CSS framework
- Host: GitHub
- URL: https://github.com/mismith/vue-primer
- Owner: mismith
- Created: 2022-02-19T19:55:36.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2022-02-19T19:55:56.000Z (over 4 years ago)
- Last Synced: 2025-05-21T00:13:10.683Z (about 1 year ago)
- Language: Vue
- Size: 22.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# vue-primer
Interactive Vue3 components based on [Primer CSS](https://primer.style/css/) framework
## Usage
1. `npm install @mismith/vue-primer @primer/css @primer/octicons`
2. In `App.vue`:
```html
@import '@primer/css/index.scss';
@import '@primer/octicons/index.scss';
```
3. In any Vue component files, e.g.:
```html
import { Button } from '@mismith/vue-primer'
// or
import Button from '@mismith/vue-primer/components/Button.vue'
```