Skip to content

austingreendev/fusion-todo-boilerplate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Fusion.js Todo Boilerplate

This repository is an example implementation of a Fusion.js application that includes:

  • Localization and Translations
    • Uses fusion-plugin-i18n-react for easy usage within React
    • Supports English, German, French, and Japanese locales
    • Dynamically changes user locale based on accept-language header
    • Allows specific language selection with locale urls
      • i.e. /en-US will force english translations
  • Custom Plugin Creation

english screenshot

Localization Demo

localization demo

Running Locally

# Install dependencies
yarn install

# Run in development mode
yarn dev

ToDo

  • There are currently 0 tests in this repo 😢
    • In the future, fusion test utils should be used to cover the logic within the custom TodoPlugin
  • Rather than inject the todomvc styling with our custom Plugin, we should be able to use the fusion-plugin-react-helmet-async, but there currently seems to be a miss-match between assetUrl values in node vs. browser.

About

An example TodoMVC application written in FusionJS. Includes server-side-rendering and localization.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published