Comments (3)
I don't see a problem of using without TS as TS is only provided as some hint and the functionality is provided in js indeed.
If you have any issue on that, please provide a minimal reproduction. Thanks.
from unplugin-auto-import.
Hey @antfu,
Made a minimal repro : https://github.com/ttxtosca/unplugin-auto-import-issue-12
From vite/vue start template. auto-imports.d.ts
is fully populated but from components/HelloWorld.vue, got the error ReferenceError: ref is not defined
while import line is commented (or not present).
Thank you for your time. I think this is an issue ; except if I missed something.
from unplugin-auto-import.
Works like a charm. Thank you for this and your work!
from unplugin-auto-import.
Related Issues (20)
- 当我在element-plus使用按需引入功能时,使用该插件最新版本v0.17.2触发报错找不到类型声明文件
- Declaration of files with suffixes is incorrect HOT 2
- Type errors with exported types or variables in .ts files
- Auto import vue function `isVNode`
- Can not use with Node14.17.0 (unplugin-auto-import/webpack)
- Duplicated imports warning
- Package name with dot is not imported properly HOT 2
- [Feat Request] Is there any way to generate `auto-import.d.ts` manually? HOT 2
- When use auto imported apis, the sourcemap will be babel transpiled
- Autopimport in the Monorepo project of PNPM
- Can't get auto import of NuxtIcons to work
- How to transform package code in node_modules? HOT 1
- Auto imports doesn't work in script setup template HOT 5
- Wildcard import stopped working HOT 1
- "readonly" is imported from external module "vue" but never used
- Inconsistency with Auto Imports and Typescript ESM Imports HOT 1
- Cannot auto import types HOT 2
- How to exclude a file in the dirs configuration folder?
- 1
- 支持 pinia 自动导入支持类型推导 HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from unplugin-auto-import.