Giter Club home page Giter Club logo

ztestaspnetcoreandreact's Introduction

http://www.hanselman.com/blog/ExploringTheNewNETDotnetCommandLineInterfaceCLI.aspx

dotnet new - new project dotnet restore - restore objects dotnet run - run project

http://blog.stevensanderson.com/2016/05/02/angular2-react-knockout-apps-on-aspnet-core/

https://facebook.github.io/react/docs/getting-started.html

installing yeoman: Open command prompt. Install bower : npm install -g bower. Install grunt-cli : npm install -g grunt-cli. Install yeoman : npm install -g yo

REF: see auto result from https://www.google.com/search?q=install+yeoman+windows REF: https://sumankpaul.wordpress.com/2013/11/14/how-to-setup-yeoman-in-windows-from-scratch/

changing the default port for kestrel (when launching) aspnet/KestrelHttpServer#639

configuring eslint: http://eslint.org/docs/user-guide/configuring

once visual studio code is installed, you can do:

code .

from a new project (dotnet new) to launch vs code

in new project, need initialization code to launch kestrel and asp.net core need OWIN interceptor to be able to resolve location of index.html (Spa.Middleware in example project) need gulp and webpack to be setup to build application need babel, gulp, react, other packages

npm install graceful-fs npm install eslint npm install babel npm install babel-core npm install gulp npm install react npm install react-dom npm install es6-promise npm install eslint-plugin-react npm install gulp npm install gulp-cached npm install gulp-concat-css npm install gulp-notify npm install gulp-react npm install jsx-loader npm install file-loader npm install url-loader npm install webpack npm install babel-eslint npm install require-dir npm install gulp-babel npm install babel-loader npm install babel-preset-es2015 npm install babel-preset-react

npm install autoprefixer <<< ???

setup gulp config to package up react & everything into bundle.js (/src/js/bundle.js -> /wwwroot/src/js/bundle.js)

some gulp stuff from https://github.com/beaupalmquist-hdqc/microservice-client-workshop-2016

ztestaspnetcoreandreact's People

Contributors

meklarian avatar

Watchers

 avatar  avatar

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.