[英]Quasar cannot find quasar extras namely material-icons, roboto font css and polyfills
Each time I run quasar dev this message appears.每次我运行 quasar dev 时都会出现此消息。 The installation is pretty standard with pwa template.
使用 pwa 模板安装非常标准。
These dependencies were not found:未找到这些依赖项:
To install them, you can run: npm install --save quasar-extras/material-icons/material-icons.css quasar-extras/roboto-font/roboto-font.css quasar-framework/dist/quasar.ie.polyfills.js要安装它们,您可以运行:npm install --save quasar-extras/material-icons/material-icons.css quasar-extras/roboto-font/roboto-font.css quasar-framework/dist/quasar.ie.polyfills .js
if you are using quasar-cli , firstly delete it due to quasar-cli doesn't include quasar-extras built-in.如果您使用quasar-cli ,请首先将其删除,因为quasar-cli不包含 quasar-extras 内置。 You can see this with running quasar info.
您可以通过运行 quasar info 看到这一点。 after deleting quasar-cli please install
删除quasar-cli 后请安装
npm i -g @quasar/cli
npm i -g @quasar/cli
then run然后运行
quasar dev
类星体开发
with this way error should be gone.用这种方式错误应该消失了。
I think the quasar-cli should be tagged deprecated already.我认为 quasar-cli 应该已经被标记为已弃用。 To solve this problem I simply remove the global installation, used the
vite
setup and currently I am running the quasar commands using npx quasar
为了解决这个问题,我简单地删除了全局安装,使用了
vite
设置,目前我正在使用 npx npx quasar
运行 quasar 命令
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.