This repository contains Vue components and styles designed to mimic the look of common Pop!_OS applications.
npm install --save-dev @system76/pop-vue
<template>
<PopTerminal>
./runacommand.sh
</PopTerminal>
</template>
<style>
@import "@system76/pop-vue";
</style>
<script>
import { PopTerminal } from '@system76/pop-vue'
export default {
components: {
PopTerminal
}
}
</script>
View the docs to see more examples.
- You will need to ensure that babel
sourceType
is set tounambiguous
. In nuxt, this means adding the following to your configuration:
build: {
babel: {
sourceType: 'unambiguous'
}
}
-
Download the repository
-
Run
npm ci
-
Run
npm start
-
Start hacking
Simply push to master and travis will do all the work for you!
To trigger a release of pop-vue
, push a commit to the master
branch in the Angular Commit Message Conventions format.