Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

fido-ui

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fido-ui

Command line interface for integraing fido UI into your WeChat mini program

  • 1.0.4
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

fido

A UI library for WeChat Mini Programs, wrapped inside a handy CLI. Scaffold pre-styled components & pages into your Mini Porgram working directory right from the command line.

Getting started

First, install fido ui globally

npm install fido-ui -g

After creating your mini program, move into your working directory and initialize fido.

fido init

After entering a primary and secondary color for your project, this init command will create a fidofile.json and overwrite anything you have in your app.wxss with fido base styles.

Editing base styles

If you want to change these colors, just run:

fido edit

...upon which your theme colors will be swapped out. THIS IS NOT DONE YET. Need to recursively recompile all stylesheets in the working directory, swapping out the primary and secondary colors.

Adding a component

To add a component from the UI library, run this command with the name you want to give to your component:

fido component <name of your component>

...upon which you will be asked to choose from a fido component. The component will be added to your working directory /components directory. You can now edit the wxss, wxml, and JS of the component any way you feel so inclined.

Adding a page

NOT DONE YET. DO NOT RUN THIS COMMAND OTHERWISE YOUR MINI PROGRAM MIGHT BREAK AND CAUSE YOUR COMPUTER TO CATCH FIRE, YOU LOSE YOUR JOB, ETC.

fido page <name of your page>

FAQs

Package last updated on 17 Dec 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc