Comments (5)
angular-cli @latest (beta.15) package.json uses webpack 2 ("webpack": "2.1.0-beta.22"). Webpack 2 has native ES 6 import support. See the webpack roadmap and their pre-releases.
The package.json for the webpack intro you are starting from is based on webpack ^1.13.0, so there would be additional ES 6 support required in the config/loaders.
Other than opting for angular-cli directly, if you want to roll it yourself, webpack 2 might be a an alternative starting point. I know it's beta...
from d3-ng2-service.
Thanks @tomwanzek. Now is working fine.
from d3-ng2-service.
Which road did you take? Sorry, if I did not have a ton of time for this right now. I have started working on beefing up the D3 module definitions that feed DefinitelyTyped / @types with JSDoc comments. Was one of my remaining todo's on the major re-write. A bit tedious, but ultimately worth it for the long run...
from d3-ng2-service.
Cool :) I updated my package.json to have the same webpack versions as in angular-cli
.
There are also some changes in extract-text-webpack-plugin. So I did some minor changes in my webpack.common.js
, because ExtractTextPlugin in beta uses one parameter.
Now I am going to create some line and bar charts from https://bl.ocks.org/mbostock
Thanks for your assistance @tomwanzek!
from d3-ng2-service.
Great!
from d3-ng2-service.
Related Issues (20)
- [BREAKING CHANGE] Update Major Release to Align with D3 v5
- Problem with d3.geo HOT 2
- traceur 404 (Not Found) Error HOT 1
- [d3-contour] Update to Minor Version 1.2
- Unresolved variables and methods HOT 7
- Type 'SVGPathSeg' is not assignable to type 'EnterElement'. Property 'ownerDocument' is missing in type 'SVGPathSeg'. HOT 5
- Update d3-geo to 1.10 HOT 1
- Property 'getBoundingClientRect' does not exist on type 'BaseType'. Property 'getBoundingClientRect' does not exist on type 'Window'.
- Update Angular dependencies HOT 1
- [d3-interpolate] Update to Minor Version 1.2
- [d3-color] Update to Minor Version 1.2
- [d3-format] Update to Minor Version 1.3
- upgrade to angular 6 HOT 14
- How to read a JSON file and load the data into a Treemap? HOT 1
- Load svg from File
- has no exportted member 'ThresholdArrayGenerator'. HOT 15
- Support for Angular 7 HOT 2
- Include d3-floorplan
- Failed AOT compilation HOT 2
- No Explanation as WHY we need a D3 service HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from d3-ng2-service.