This was built with yarn create flayyer-app
using typescript & styled-components
template interactive option. Automated deploy using flayyer-actions.
Feel free to checkout the latest documentation at flayyer.com/docs 📖
You can start a development server at http://localhost:7777 with:
npm run start
# Custom port and host
npm run start --port 3000 --host 0.0.0.0
Then preview your template at http://localhost:7777/main.html
Once you are ready to deploy please remember to build the project first:
npm run build
Get your Flayyer key from https://flayyer.com and set it as an environment variable:
export FLAYYER_KEY=...
Deploy to production
npm run deploy
You can find the URL for your deck in the terminal output.
For a better development experience visit flayyer.github.io/flayyer-studio/
Sure. Install npm install --save sass
and just import your SASS/SCSS files just like: import "/styles.scss"
.
Refer to https://flayyer.com/en/docs/structure/fonts.
This is not implemented yet. Please prefer a flat /templates
directory. This means you have to avoid folders inside /templates
.
Folders outside /templates
is ok 👍
The development server (npm start
) can be buggy sometimes. Please restart the server if you encounter any problems.