Coder Social home page Coder Social logo

zguolee / starter-uni Goto Github PK

View Code? Open in Web Editor NEW
33.0 33.0 2.0 333 KB

An UniApp Starter Template With Vue3, Vite, @unocss, @ano-ui.

Home Page: https://starter-uni.vercel.app

License: MIT License

HTML 2.09% Vue 24.94% TypeScript 65.29% SCSS 7.69%
miniprogram uniapp unocss

starter-uni's Introduction

starter-uni's People

Contributors

chenjiezi avatar zguolee 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  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

starter-uni's Issues

样式兼容性问题?

UToast组件中的,css属性"inset"貌似在微信小程序不起作用。(真机调试情况下)

我把“inset-0”改为“top-0 right-0 left:0 bottom-0”就能解决问题。

image
(如果可以,让我提个pr解决这个问题?)

.nvue file support

.nvue file support

目前不支持.nvue文件的类型解析,主要原因应该是在eslint-vue-preser

like-this

复现步骤

  1. clone项目
  2. 修改tsconfig.json include 支持.nvue文件解析
    "include": ["src/**/*.ts", "src/**/*.d.ts", "src/**/*.tsx", "src/**/*.vue", "src/**/*.nvue"]
  3. 修改任意pages下的.vue.nvue即可复现

使用Ano.css 报错

uni-app 有新版本发布,请执行 `npx @dcloudio/uvm alpha` 更新,更新日志详见:https://download1.dcloud.net.cn/hbuilderx/changelog/3.8.11.20230719-alpha.html
​[unocss]​ ​failed to load icon "tabler-home"​
​[unocss]​ ​failed to load icon "tabler-compass"​
​[unocss]​ ​failed to load icon "tabler-user"​
[vite]: Rollup failed to resolve import "ano-ui/components/ATabBar/ATabBar.vue" from "D:/WorkSpace/Private-Abernethy/HW_maintenance_app/src/pages/index.vue?vue&type=script&setup=true&lang.ts".
This is most likely unintended because it can break your application at runtime.
If you do want to externalize this module explicitly add it to
`build.rollupOptions.external`

系统 : 微信开发工具

组件的ts类型定义缺失

我用了你这一套初始化模板,有一个问题就是我不要用uniapp的easycom,想用unplugin-vue-component。因为我需要组件的类型定义。

但是我填加了unplugin-vue-component的配置后,还是没法读取组件的类型。

不知道你有没有试过同类型的问题?

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.