Git Product home page Git Product logo

Comments (3)

ricardogobbosouza avatar ricardogobbosouza commented on May 23, 2024

Hi @mrfrase3
I did not understand the desired feature, could you explain it better?

from router-module.

mrfrase3 avatar mrfrase3 commented on May 23, 2024

So in the router for a nuxt application, you use the file names to determine the functionality in the router, (e.g. index.vue and _id.vue) the problem with this is that with a large application, you can easily end up with 30 index.vue files, which can be difficult/annoying for a dev to navigate.

What I'm proposing is that anything defined after a dot on a specially named file is ignored, allowing you to have more meaningful file names. so index.<custom_name>.vue would be the same as index.vue

from router-module.

ricardogobbosouza avatar ricardogobbosouza commented on May 23, 2024

@mrfrase3 with this module you can register your routes as you prefer.

You may be interested in analyzing this other module https://github.com/nuxt-community/router-extras-module

from router-module.

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.