npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@herteleo/vue-cli-plugin-vuido

v0.1.1

Published

vue-cli plugin to add vuido specific setup

Downloads

17

Readme

Vue CLI Plugin Vuido

A Vue CLI 3 plugin to create Vuido projects.

Getting started with Vuido

With Vuido you can create native desktop applications for Windows, OS X and Linux using Vue. To get started with Vuido, you should read the Vuido introduction.

Prerequisites

Depending on the operating system you are working with, you need to execute one of the following commands before we get started. Read more

OS X

xcode-select --install

Windows

npm install --global --production windows-build-tools

Linux

sudo apt install build-essential libgtk-3-dev

Installation

Open a terminal in the directory of your Vue CLI 3 project. To add Vuido to your project, simply run:

vue add @herteleo/vuido

And follow the instructions shown in the terminal.

Sugar: You can now remove Vue from the projects dependencies by running npm remove vue.

Working with git? You should add packages/ to your .gitignore.

Usage

The plugin replaces the commands for vue-cli-service serve and vue-cli-service build with Vuido specific commands, so you can develop and package your Vuido app comfortably.

Commands

You will only use commands, you already know from Vue.

npm run serve

Builds the Vue application in development mode with webpack's watch flag and starts the Vuido application with nodemon. Everytime the app code changes, the app will rebuild and restart automatically.

npm run build

Builds the Vue application in production mode and launchui-packager packs the Vue code into an executable Vuido application.

Configuration (is optional)

The plugin works out of the box without any further configuration. But... You have the ability to customize your build/package output after your needs. The plugin uses cosmiconfig under the hood. That means you can create a config by including a vuido property into your project's package.json or by creating one of these files:

  • .vuidorc in JSON or YAML format
  • .vuidorc.json
  • .vuidorc.yaml, or .vuidorc.yml
  • .vuidorc.js, or vuido.config.js exporting a JS object

The config is divided into multiple sections to reach all platforms independently. Plus there is a general section to define shared properties.

All properties listed at the launchui-packager documentation can be used.

Example

Here is an example config file written in .vuidorc (JSON) format:

{
  "general": {
    "name": "My App Name",
    "company": "My Company",
    "overwrite": true
  },
  "darwin": {
    "icon": "./path/to/icon/file.icns"
  },
  "linux": {
    "name": "my-app-name",
    "pack": "zip"
  },
  "win32": {
    "icon": "./path/to/icon/file.ico"
  }
}

The general part is used by all platforms and can be overridden by identical platform specific properties (see name in linux).

E.g. icons for Windows must have the .ico format and Mac expects a .icns file. So you may want to specify the icon independently.

Valid platforms are darwin (Mac OS), linux and win32 (Windows).

Defaults

| Property | Default value |------------|--------------- | name | name value from package.json | version | version value from package.json | entry | ./dist/app.js | out | ./packages/ | platform | automatically resolved by os.platform()

Updating

After updating the plugin you should run vue invoke @herteleo/vuido to receive the latest changes.


License

@herteleo/vue-cli-plugin-vuido is licensed under the MIT license.

Copyright (C) 2019 Leonard Hertel