Coder Social home page Coder Social logo

配置路由不生效,请教 about ovine HOT 2 CLOSED

ovineio avatar ovineio commented on May 10, 2024
配置路由不生效,请教

from ovine.

Comments (2)

a2a111 avatar a2a111 commented on May 10, 2024

我如果在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.

CareyToboo avatar CareyToboo commented on May 10, 2024

新增加/或者编辑路由, 会发现文件找不到,是会有这个情况。 编辑或者增加路由后,'yarn start' 重启一下即可。要么就一次性把侧边栏设计好。 每次启动用 'yarn start' 就行

from ovine.

Related Issues (20)

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.