quasar-framework - 如何从 quasar 默认应用模板中删除路由器?
问题描述
我想开发一个只有一个根组件而没有所有 VueRouter 机器的应用程序,我使用 quasar cli 生成了该项目。
我清理了源目录以使用单个 A.vue 组件重新开始。
但是,编译过程会生成一个需要它的 app.js 文件(顺便说一下,我也想摆脱 app.scss)。怎么做 ?
(我不需要 SSR,但我可以构建到电子。)
解决方案
You always need at least one "route" for your application to work with Quasar. Doesn't mean you have to use all their special stuff - just add a "/" base route and give it "component: A".
Pretty easy.
推荐阅读
- python - 在具有多个网络和方法的模型类上使用 writer.add_graph() 时出现问题,这些网络和方法采用不同的输入
- javascript - 如何在 map() 函数中获取反应道具
- java - Spring也用于前端是否正确?
- sql - 使用 LISTAGG/XMLAGG 未按预期工作
- scrapy - Scrapy 无法解析响应时间较长的页面
- google-cloud-functions - 具有多个 cron 计划的 Cloud Scheduler?
- scala - 如何从 Scala 中的集合列表中删除正确的子集?
- powerbi - 在报告中定义适当度量的问题
- android - Flutter firebase 消息传递在 Android 中给出 registerPlugin 异常
- azure - Insights 响应时间和应用服务响应时间之间的差异