0.0.3 • Published 1 year ago

@mcansh/remix-v1-routes v0.0.3

Weekly downloads
-
License
MIT
Repository
-
Last release
1 year ago

remix-v1-routes

Continue to use the old nested folders route convention from Remix v1 in your v2 app.

Usage

const { defineConventionalRoutes } = require("@mcansh/remix-v1-routes");

/** @type {import('@remix-run/dev').AppConfig} */
module.exports = {
  appDirectory: "app",
  assetsBuildDirectory: "public/build",
  serverBuildPath: "build/index.js",
  publicPath: "/build/",
  future: {
    v2_routeConvention: true,
  },

  ignoredRouteFiles: ["**/*"],
  routes: (defineRoutes) => defineConventionalRoutes("app", defineRoutes),
};
0.0.3

1 year ago

0.0.2

1 year ago

0.0.1

1 year ago