Code Monkey home page Code Monkey logo

tamagui-setup-project's Introduction

Dev (Meteor Wallet)

// install dependencies
> yarn

// run ui building things (needed for dev)
> yarn run watch-meteor-ui

// start dev for web platform
// inside "/packages/meteor_wallet/platform_web"
> yarn run dev

// start dev for android platform
// inside "/packages/meteor_wallet/platform_react_native"
> yarn run start-android

UI Styling and Component Layout

(Using Meteor Wallet as an example)

The main Tamagui styled components and config files are located in these two packages:

  • packages/common/ui
  • packages/meteor_wallet/ui

The common UI package is what is shared between all output projects (Meteor Wallet and My Near Wallet). In this case, packages/meteor_wallet/ui imports packages/common/ui, and extends and specifies styles and components which are specific to Meteor Wallet.

The main app is created inside the respective app package in each project folder:

e.g. packages/meteor_wallet/app

This imports from their respective UI package for styles and components. In this case, that would be packages/meteor_wallet/ui. UI and Style Configuration should not be changed here- but it is re-exported for use in the output platforms for the app:

  • packages/meteor_wallet/platform_web
  • packages/meteor_wallet/platform_react_native

tamagui-setup-project's People

Contributors

lostpebble avatar

Stargazers

TwoPinkyNoBrain avatar

Watchers

 avatar  avatar

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.