Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/brandonroberts/angular-analog-file-routing

An example application that uses file-based routing with Angular, Analog, Vite with the Angular Router
https://github.com/brandonroberts/angular-analog-file-routing

Last synced: 20 days ago
JSON representation

An example application that uses file-based routing with Angular, Analog, Vite with the Angular Router

Awesome Lists containing this project

README

        

# Angular, Vite, and File-based routes

This is an example application that uses Angular, Analog, and Vite for file-based routing.

Routes are places in the `pages` folder as default exports. Additional route configuration can be added by using a `.config.ts` file with the same name as the route.

## Setup

Run `yarn` to install the application dependencies.

## Development

Run `yarn dev` for a dev server. Navigate to `http://localhost:5173/`. The application will automatically reload if you change any of the source files.

## Build

Run `yarn build` to build the project. The build artifacts will be stored in the `dist/` directory.

## Test

Run `yarn test` to run unit tests with [Vitest](https://vitest.dev).

## Community

- Join the [Discord](https://discord.gg/mKC2Ec48U5)
- Visit and Star the [GitHub Repo](https://github.com/analogjs/analog)
- Visit the [Website](https://analogjs.org/)
- Follow us on [Twitter](https://twitter.com/analogjs)

## Credits

Code generation inspired by the [generouted](https://github.com/oedotme/generouted) project