Giter VIP home page Giter VIP logo

elm-webpack-starter's People

Contributors

dougvonmoser avatar everybodykurts avatar fluxxu avatar janwirth avatar jbrains avatar jmfirth avatar simonh1000 avatar vicver82 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  avatar  avatar  avatar  avatar  avatar

elm-webpack-starter's Issues

How to use ports?

I'm somewhat of a beginner but how would I use ports in dev with this? I notice that the webpack html plugin injects the script into the body but with ports it seems you need something like var app = Elm.Main.Fullscreen and then app.ports.myPort...

enable gitpod

First and foremost, thank you for your very useful repository
It helped me to enter at high speed in elm coolness, I'm very grateful.

I recently discovered Gitpod; the service is amazing!

What do you think about adding gitpod yml configuration?

Best!

Loading specific routes broken?

Hi. Thanks for sharing this. I noticed in your webpack.config.js you have:

add: (app, middleware, options) => {
  app.use(history());
}

Unless I'm missing something, this doesn't seem to work for loading specific routes because it doesn't root the index.js file at "/", i.e. you get this in the console:

Try to navigate to: http://localhost:3000/profile/bob
HTML output script tag: <script type="text/javascript" src="index.js"></script>
Console error: GET http://localhost:3000/profile/index.js 404 (Not Found)

As you can see, it's because it's referring to "index.js" from /profile/bob instead of "/index.js"

Is this something you're aware of, or am I missing something? It's possible I'm missing some of your code as well, as I didn't keep 100% of it.

For now I've resorted to removing inject: "body" and hardcoding the script tag inclusion in my index.html in the body section.

Add LICENSE file?

Hi @simonh1000 , really great project. It just worked out of the box for me and I would really like to use it as the basis for my next project.

I noticed in the package.json it specifies an MIT license. Would you consider adding a LICENSE file to the project to make this more explicit?

No colors in error log

Colors are missing from error reports
image

With elm-webpack-starter from the elm community
image

Questions about some of the dependencies

Hello,

I was going through the package.json file to understand the dependencies and there are a couple of questions I had. Maybe there will be people sharing the same questions:

  1. I don't see the chokidar-cli dependency being used explicitly by webpack or the code. My understanding from what it says in its README is that webpack will use it if available, right?

  2. I see a postcss-loader but I don't see it used explicitly either. Is any other loader using that under the hood?

Curious why resolve points to src directory?

Hi Simon, just a basic question for you, wondering what the rationale was behind having your "resolve" object point to the src/ directory instead of just having it default to the project root. Is there a specific reason for this, or was it just aesthetics (you liked having source code in src/). Thanks.

clean-webpack-plugin error

Had to change to:

new CleanWebpackPlugin({
                root: __dirname,
                exclude: [],
                verbose: true,
                dry: false
            }),

because of error message in build otherwise (you don't need to pass ['dist'] anymore, apparently).

Babel 7

Hi!
Thank you for your work. I think this is a great starting point for a Webpack-based Elm app!

I see that the Babel core version in the package.json file is still ^6.x.x, which is confusing because the Readme file states that Babel 7 is used for JS transpilation.

Am I missing something or is this a mistake?
I can help with the Babel 7 upgrade if you wish.

Thank you.

Elmx seems hard to add

This is not really an issue, more like an enhancement request.

How would one add elmx-webpack-preloader to the webpack config? I gave up after numerous attempts. Would there be a way to have .elmx support in this great boilerplate project?

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.