Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/gaku-sei/fable-next-starter
A simple starter for Fable (F#) + Next.js
https://github.com/gaku-sei/fable-next-starter
Last synced: 19 days ago
JSON representation
A simple starter for Fable (F#) + Next.js
- Host: GitHub
- URL: https://github.com/gaku-sei/fable-next-starter
- Owner: gaku-sei
- Created: 2020-10-26T02:43:48.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2020-11-03T23:28:37.000Z (about 4 years ago)
- Last Synced: 2024-11-05T13:12:47.562Z (2 months ago)
- Language: F#
- Size: 88.9 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Fable + Next.js (+ Tailwind) Starter pack
- [Next.js](https://nextjs.org/) pages are located under `src/pages`
- [F#/Fable](https://fable.io/) projects are all located under `src/`
- `App`: main entry point
- _in progress_ `Hooks`: all the hooks
- _in progress_ `Entities`: values and entities
- [Tailwind](tailwindcss.com/) via the [TypedCssClasses](https://github.com/zanaptak/TypedCssClasses) provider, can be replaced easily### Getting started:
You will need:
- [.Net Core](https://dotnet.microsoft.com/download) installed (v3.1 as of today, v5 soon to be released)
- Node/YarnFirst, run the `dotnet tool restore` and `dotnet restore` commands to get the `fable` plugin and fetch the .Net dependencies.
Then, you can start using Yarn: `yarn && yarn bootstrap` will install the Node dependencies, and create the css file.
Finally you can run `yarn dev` to compile and watch the F# files, and run Next.js