-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Elm PWA on Capture page #55
Comments
Creating a simple elm application: main = text "Hello Elm Capture! And nesting this application on Now that the app is nested we can start to build the textarea and using |
Updating application with The next step is to send the capture with a post request to the api. |
To use PWA we need to create and add files to our application assets, see https://shaun-etherton.com/tech/2019/01/24/phoenix-1.4-js-static-assets.html |
The application can't be installed yet as the following error is displayed: Using service worker with Phoenix https://www.botsquad.com/2018/03/07/phoenix-sw/ |
Testing WPA on a separate Elm application using its own navigation to see if the issue above can be resolved without using Phoenix routing |
ref: dwyl/app#254
At the moment the capture page is displayed with Phoenix template. To test PWA we can create an simple Elm app which will allow the user to capture the text via Elm.
Create a Browser.element application which will compiled and bundle to the main
app.js
script fileNest this application on a specific elm capture page
Send post request to the api endpoint (see Add routes for API capture #53) to save the text
Once this checkbox for the main structure of the Elm nested app have been implemented we can enhance the application by adding offline feature with PWA
The text was updated successfully, but these errors were encountered: