Git Product home page Git Product logo

pop-vue's Introduction

@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

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.

Tips

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

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.

pop-vue's People

Contributors

btkostner avatar dependabot[bot] avatar renovate-bot avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

pop-vue's Issues

Create a terminal template component

We should have a fancy terminal template component that does all of the fun formatting stuff for us. In my head I'm thinking something like this:

<pop-terminal>
	$ sudo apt install pop
	apt is installing...
	some code is running...
	blablabla
	$
</pop-terminal>

This would create a terminal with these commands in it:

pop-os@pop-os:~$ sudo apt install pop
apt is installing...
some code is running...
blablabla
pop-os@pop-os:~$ โ–ˆ

All of the prompt stuff should be auto generated.
It should be colored.
The last prompt line should have an animated block on it.
It should be un-indented when on display.

I'm still questioning if this should be part of the pop-terminal component, or it's own component. On one hand, it's nice just using one component. On the other hand, if we want to do something like make an htop clone, we don't want all this magic formatting stuff.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.