file directory. You can specify a different path; go through Conda create-h for more information.Tip : If we don't specify a version of Python to install, Donda installs the Python version that we installed at the time of the initial installation of Conda. Create a second environment
This time, let's create and name a new environment, and then install another version of Python and two packages astroid and Babel.
Conda create-n Bunnies python=3 astroi
With the support of Google and Firfox and node6.0 for ES6, the finalization of the ES6 syntax has given it more and more attention, especially react projects are written mostly in ES6. It's time to change from ES5 to ES6., related background introduction
The syntax JavaScript that most of us use today is ecmscript5, and it's es5. This version has been for many years, and is perfectly supported by the major browsers. So a lot of learning JS friends can always be unclear es5 and javscript relation
eclipse3.4 and its plug-in installation (compatible with eclipse3.5)Ref url:http://qgjie456.blog.163.com/blog/static/354513672009102011355780/
Before installing Eclipse, make sure you have the JDK installed.
1, first download eclipse-jee-galileo-sr1-linux-gtk.tar.gz, this is the current 3.4 version of Eclipse
Official Download:
http://www.eclipse.org/downloads/
2. Install Eclipse
After extracting, you can run eclipse directly under the directory.
3. Copy the extracted directory to the/usr/loac
mainstream third-party libraries now offer typescript support.
ES6 formally introduced the typed array standard, but before ES6, the browser that supports WebGL already provides a strongly typed array of APIs to improve computational performance.
The choice of building tools is relatively more, Webpack, Rollup, gulp are very good tools. The reason for the final selection of Webpack is very simple: relatively cooked.Build configuration
The Webpack configuration is roughly the same
Reprinted from: http://qgjie456.blog.163.com/blog/static/354513672009102011355780/
Before installing eclipse, make sure that you have installed JDK.1. First download the eclipse-jee-galileo-SR1-linux-gtk.tar.gz, this is the current version of eclipse 3.4Official download:Http://www.eclipse.org/downloads/2. Install eclipseAfter decompression, you can directly run eclipse under the directory.
3. Copy the decompressed directory to the/usr/loacl/share/directory.
4. Add menuSystem ---> preferences -
The project encounters a requirement that react16.6.0 is compatible with the IE 10 Browser
Open it in IE browser. ie11 is supported. Open the console and switch to ie10. The page is displayed in white. An error is reported in the console.
Console Error
Map set undefined
If this parameter is not defined, ie10 does not support the latest es6 syntax. Google has many solutions. The only useful thing is to go to the Babel official website. For mo
ECMASCRIPT6 has recently entered the RC phase, and as early as in its community discussions, I have been trying to use ES6 to develop the solution. After the launch of Babel, ES6-based development also has a concrete executable solution, both build and debug can be well supported.With ample environment and tools, we are faced with the choice and analysis of many new features of ES6, so that we can choose an optimal subset, allowing us to enjoy the con
has been taken (perhaps because the authors have used a block-scoped bar).So think Babel since is ES6 turn ES5, understand is correct, then can find it to help.method, using the Babel transcoding to deepen the understanding of the characteristics,Direct online transcodingBefore transcoding:Let arr=[]; for (Let i=0;i) { arr[i]=function() { console.log (i); }; I+ +;} Console.log (i); // i is
OverviewANGULAR2 's official recommendation should be to use SYSTEMJS to load, but when I use the tree shaking, I find that if I use Systemjs+rollup, I can only package it into one file, and then lazy loading can't do it.So I used webpack2,webpack2 with the tree shaking, as long as the Tsconfig in the module set to es2015, although the effect is not rollup good, but support lazy loading.In addition, ANGULAR2 currently does not support typescript 2.1.X, so if you want to use async/await on "targe
The method for integrating vue into the jquery/bootstrap project, vuejquery
Description: The project uses jquery and bootstrap to manage the background. Some logon interfaces run on the node server, and most interfaces are implemented using springmvc. Now, we use vue for development and integrate vue into the original project. Does not affect the original framework. The original packaging method is to package with the fiis. After the vue is integrated, pack with webpack and then pack with the fi
Explain how Vue supports JSX syntax and VueJSX syntax
We usually use the template syntax for vue development. In fact, there is also the same syntax as react, that is, the render function, which also supports the jsx syntax.
The Vue template is actually compiled into the render function.
1. Traditional createElement Method
createElement( 'anchored-heading', { props: { level: 1 } }, [ createElement('span', 'Hello'), ' world!' ])
Rendering as below
2. Use jsx syntax
This is why a
Webpack's loaders is a major feature and an important part of it. This blog I will be classified to explain some of the commonly used LaoderFirst, the pretreatment of loaders
Css-loader handling issues such as path references in CSS
Style-loader dynamically writing styles to CSS
Sass-loader Scss Compiler
Less-loader less compiler
Postcss-loader Scss re-processing
npm install --save -dev css-loader style-loader sass-loader less-loader postcss-loaderChestnuts:module:
://localhost:8080/{publicpath}/bundle.js1.7 Installing LoaderWebpack itself only recognizes JS files, but the project is usually in addition to JS files, there are css,img,url and other files, loader is to allow Webpack can also identify these files and modular.Installation:NPM Install Style-loader Css-loader--save-devNPM Install File-loader--save-dev(all loader See Package.json)1.8 Realization of modularityWebpack is a module (Portal file + module dependencies) to manage the project, so we need
the loader]}}After that, the package command can be used directly webpack will find the portal file3>webpack-Building a serverUsing Webpack-dev-serverNPM install-g Webpack-dev-serverHow to start a project using Package.jsonIn a project, the Package.json file controls how the project is builtWe can modify him to achieve self-control."Scripts": {"Start": "Webpack-dev-server--entry/app.js--output-filename./bundle.js",//Let the project inServer-side running the portal file, export file path to be c
there will be a pit for you to fill, right, is Babel! Css-loader,less-loader here is not to say, relatively simple.We focus on Babel,babel presets and plugins, if it is react, you need to Babel compile es2015,react, and then usually need a few plugins packages, such as the ' ... ' syntax, you need a special package to
following columns list some dependent packages that can be replaced with Inferno:
React→inferno
React-component→inferno-component
React-redux→inferno-redux
React-mobx→inferno-mobx
React-router→inferno-router
And some possible development dependency packages:
Babel-plugin-react→babel-plugin-inferno
Eslint-plugin-react→eslint-plugin-inferno
React-devtools→infern
Webpack-merge: Configuration Merging of Webpaak configuration files for development environment and production links
File-loader: Compile write to file, by default the file name of the makefile is a combination of the file name and the MD5 hash value
Vue-laoder: Compiling write to. vue file
Vue-html-loader: Compiling the template portion of the Vue
Vue-style-loader: Compiling the style portion of Vue
Vue-hot-reload-api:webpack to the Vue for hot swap
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.