Coder Social home page Coder Social logo

cedricss / elm-batteries Goto Github PK

View Code? Open in Web Editor NEW
116.0 116.0 4.0 702 KB

Learn how Elm, Parcel, Cypress and Netlify work together. Get started with Elm navigation, routes, remote data and decoder.

Home Page: https://elm-batteries.netlify.com/demo

License: MIT License

HTML 5.37% JavaScript 33.99% Elm 53.91% SCSS 6.73%
cypress elm elm-test netlify parcel postcss purgecss tailwind-css

elm-batteries's People

Contributors

cedricss avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

elm-batteries's Issues

Elm-ui

More feedback than an issue.
I have noticed that tailwind is used as the default choice for CSS. It seems pretty backed in inside the demo code now. I understand it's possible to remove all demo code and write all styles in Elm-UI. Maybe offering an option in the generator to choose between tailwind and elm-ui would make it easier to start?

should lock elm to 0.19.0

Currently in package.json

"elm": "^0.19.0-no-deps",

which resulted my local installation to resolve it as 0.19.1, and got the following error

-- ELM VERSION MISMATCH ----------------------------------------------- elm.json

Your elm.json says this application needs a different version of Elm.

It requires 0.19.0, but you are using 0.19.1 right now.

Dependencies ready!

we should lock the version instead

"elm": "0.19.0-no-deps",

Demo not working

Just tried to create a demo using yarn create
And got this after running yarn dev
Screen Shot 2019-08-01 at 17 39 13
Debug log:

▾_package = Failure BadBody …
0 = "Problem with the given value:\n\n\"<!DOCTYPE html>\\n<html lang=\\\"en\\\">\\n <head>\\n <title>Elm Batteries Included!</title>\\n <meta name=\\\"viewport\\\" content=\\\"width=device-width\\\">\\n <meta name=\\\"description\\\" content=\\\"Elm + parcel + tailwind + cypress + netlify and more!\\\">\\n <meta property=\\\"og:url\\\" content=\\\"https://github.com/cedricss/elm-batteries\\\">\\n <meta property=\\\"og:title\\\" content=\\\"Elm Batteries Included!\\\">\\n <meta property=\\\"og:type\\\" content=\\\"article\\\">\\n <meta property=\\\"og:description\\\" content=\\\"Elm + parcel + tailwind + cypress + netlify and more!\\\">\\n <meta property=\\\"og:image\\\" content=\\\"/content_preview.e73c0f9e.jpg\\\">\\n <meta property=\\\"og:site_name\\\" content=\\\"Elm Batteries Included!\\\">\\n <meta name=\\\"twitter:card\\\" content=\\\"summary_large_image\\\">\\n <meta name=\\\"twitter:site\\\" content=\\\"@CedricSoulas\\\">\\n <meta name=\\\"twitter:creator\\\" content=\\\"@CedricSoulas\\\">\\n <meta name=\\\"twitter:image:alt\\\" content=\\\"Elm Batteries demo page\\\">\\n <script async=\\\"\\\" src=\\\"/elm-batteries-test.e31bb0bc.js\\\"></script>\\n <link rel=\\\"stylesheet\\\" href=\\\"/elm-batteries-test.e31bb0bc.css\\\"></head>\\n <body></body>\\n</html>\\n\"\n\nThis is not valid JSON! JSON Parse error: Unrecognized token '<'"
key = <internals>
route = ApiDemo
}

I get 304 in browser network requests for http://localhost:1234/.netlify/functions/demo

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.