Code Monkey home page Code Monkey logo

simple-todo-tutorial's People

Contributors

mrflos 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

Watchers

 avatar  avatar  avatar  avatar

simple-todo-tutorial's Issues

Doesn't work with latest webpack-dev-server

Hi there

Thank you so much for this tutorial and demo pack.

I just wanted to let you know, I tried installing the pack and found that the latest version of webpack-dev-server (2.1.0-beta.9) throws the error

WebpackOptionsValidationError: Invalid configuration object

By rolling the version of webpack-dev-server back it worked fine (I got the idea from here PatrickJS/PatrickJS-starter#1036) but thought I better flag it in case you have anyone else with this issue!

Loaders missing -loader suffix

Getting the following error

ERROR in multi main
Module not found: Error: Can't resolve 'babel' in '/home/rob/Projects/simple-todo-tutorial/simple-todo'
BREAKING CHANGE: It's no longer allowed to omit the '-loader' suffix when using loaders.
                 You need to specify 'babel-loader' instead of 'babel'.

This appears to fix it:

diff --git a/simple-todo/webpack.config.js b/simple-todo/webpack.config.js
index 1e30839..e233685 100644
--- a/simple-todo/webpack.config.js
+++ b/simple-todo/webpack.config.js
@@ -12,16 +12,16 @@ module.exports = {
     loaders: [
       {
         test: /\.vue$/,
-        loader: 'vue'
+        loader: 'vue-loader'
       },
       {
         test: /\.js$/,
-        loader: 'babel',
+        loader: 'babel-loader',
         exclude: /node_modules/
       },
       {
         test: /\.(png|jpg|gif|svg)$/,
-        loader: 'file',
+        loader: 'file-loader',
         query: {
           name: '[name].[ext]?[hash]'
         }

running error

need to change loader: 'vue' to loader: 'vue-loader' and loader: 'babel' to loader: 'babel-loader' in webpack.config.js

vuex dependencies are missing

Hi, just tried to launch this demo and after cloning repo, npm install and npm run dev
I had an error about vuex missing.
I tried to install it with npm install vuex but the server localhost:8080 is a blank page now.

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.