Giter Club home page Giter Club logo

uniapp-tmui-template's Introduction

起步

请全局替换 pkg-placeholder 占位符以使用此模板。

项目缺少 uni 插件市场的 z-paging 组件, 首次启动项目请执行完下述代码后手动引入。

npm i # 不支持pnpm/yarn, 否则多平台兼容有问题
npx tmui rcli # 更新tmui,有可能卡死,看src/tmui出来就强制结束执行
npx @dcloudio/uvm alpha # 更新uniapp sdk, 会覆盖为低版本vite
npm install vite [email protected] # 更新vite,再安装一遍指定版本的pinia

注意

  • unocss 类名和 tmui 冲突,需要加上自定义前缀_
    • class="_bg-white dark:_bg-#000" dark 只可以写在 class 里
    • bg="#fff" Attributify 不需要加前缀, 不丢失插件提示
    • bg-white Valueless attributify 不需要加前缀, 丢失插件提示, 等同于_bg-white
  • 最简单的 modal 和 message 可以用 hooks,复杂的只能写组件。

uniapp-tmui-template's People

Stargazers

 avatar

Watchers

 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.