项目作者: system76

项目描述 :
Vue components designed to look like Pop!_OS
高级语言: JavaScript
项目地址: git://github.com/system76/pop-vue.git
创建时间: 2019-07-22T17:24:20Z
项目社区:https://github.com/system76/pop-vue

开源协议:GNU General Public License v3.0

下载



@system76/pop-vue


Vue components designed to look like Pop!_OS








npm



travis-ci



renovate



standard



Storybook


This repository contains Vue components and styles designed to mimic the look
of common Pop!_OS applications.

Using

  1. npm install --save-dev @system76/pop-vue
  1. <template>
  2. <PopTerminal>
  3. ./runacommand.sh
  4. </PopTerminal>
  5. </template>
  6. <style>
  7. @import "@system76/pop-vue";
  8. </style>
  9. <script>
  10. import { PopTerminal } from '@system76/pop-vue'
  11. export default {
  12. components: {
  13. PopTerminal
  14. }
  15. }
  16. </script>

View the docs to see more examples.

Tips

1) You will need to ensure that babel sourceType is set to unambiguous. In
nuxt, this means adding the following to your configuration:

  1. build: {
  2. babel: {
  3. sourceType: 'unambiguous'
  4. }
  5. }

Development

1) Download the repository

2) Run npm ci

3) Run npm start

4) Start hacking

Deployment

Simply push to master and travis will do all the work for you!

Releases

To trigger a release of pop-vue, push a commit to the master branch in the Angular Commit Message Conventions format.