Comments (2)
我如果在npx @ovine/init@^0.1.0 init my-app执行完之后修改代码,加入自己的路由{ label: '天马', nodePath: 'pegasus', // 对应 src/pages/application/doc },
然后执行
cd my-app # 切换到生成的项目文件夹下
yarn install # 安装项目依赖
yarn start # 启动项目
自己的路由就能生效,不知道是yarn ovine dev哪里有问题没有更新路由,或者是我有啥缓存没清空。。请大佬们指教
from ovine.
新增加/或者编辑路由, 会发现文件找不到,是会有这个情况。 编辑或者增加路由后,'yarn start' 重启一下即可。要么就一次性把侧边栏设计好。 每次启动用 'yarn start' 就行
from ovine.
Related Issues (20)
- 0.1.7版本不支持amis api的adaptor、requestAdaptor,改成0.1.6的写法就可以了
- 使用cli初始化项目运行后界面异常
- demo项目拉下来都运行不了 HOT 1
- Where's the complete version of the admin dashboard
- 官网https://ovine.igroupes.com/无法访问 HOT 1
- crud
- 如何解决跨域设置代理访问? HOT 2
- 编译出来的dist目录太大,有50M HOT 2
- 导航栏希望可以支持面包屑方式
- 关于原使用 amis jssdk模式开发的 json,如何转为 ovine 的 js 模式? HOT 1
- 包packages/cli下yarn tsc WebpackDevServer错误类型“Compiler”的参数不能赋给类型“Compiler | MultiCompiler”的参数。
- 官网后台logger.js存在这个错误
- 开放webpack配置修改,方便构建完成使用插件上传cdn
- 建议菜单和路由分开配置
- 0.1.6的demo中角色权限编辑和成员管理中批量变更角色有异常 HOT 1
- 使用 Ovine 生成器 和 命令行生成均启动失败 HOT 1
- 好多官方的例子都不兼容,任道重远啊,加油 HOT 1
- 主题逻辑损坏 HOT 2
- windows环境下build失败 HOT 2
- 使用生成工具,运行后,浏览器白屏 HOT 2
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 ovine.