Quick answers to quick questions

Can I use Sass for styles?


If you're using the cli, scaffold your project with fyord new MyProjectName scss to default all css files to use the .scss extension.

If you've already scaffolded your app, but want to switch the default to scss, run the fyord configure command and set the style extension setting to scss.

Alternatively, or if you aren't using the cli, simply change any .css file to .scss to use sass.

Can I just use JavaScript?

Probably, but we don't currently support vanilla JavaScript, so you'll be on your own.

We intend Fyord to be TypeScript first, but will leave the door open to JavaScript support at a later time.

How do I route on the client?

Just declare normal anchor tags in your markup!

All anchor tags with a local href, that aren't target blank, will be automatically routed on the client.

How to deploy a static site?

  • Ensure all pages have their RenderMode set to "static"
  • Build your app
  • Use the cli to pre-render
  • Deploy the "public" folder!