Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/brandonroberts/angular-analog-file-routing
- Owner: brandonroberts
- Created: 2022-09-09T17:42:34.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2022-09-10T12:59:57.000Z (about 2 years ago)
- Last Synced: 2024-10-10T18:35:49.785Z (about 1 month ago)
- Language: TypeScript
- Homepage: https://angular-analog-file-routing.netlify.app/
- Size: 139 KB
- Stars: 8
- Watchers: 3
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
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