mirror of https://github.com/embarklabs/embark.git
Updated Integrating other Frameworks (markdown)
parent
e7df42df53
commit
bac2853f1f
|
@ -1,24 +1,7 @@
|
|||
### Integrating javascript frameworks
|
||||
|
||||
e.g to integrate angular
|
||||
|
||||
```Coffeescript
|
||||
#Gruntfile.coffee
|
||||
module.exports = (grunt) ->
|
||||
|
||||
grunt.loadNpmTasks "embark-framework"
|
||||
|
||||
grunt.initConfig(
|
||||
@initEmbarkConfig(
|
||||
files:
|
||||
js:
|
||||
src: [
|
||||
"app/js/angular.min.js",
|
||||
"app/js/**/*.js"
|
||||
]
|
||||
...
|
||||
```
|
||||
Embark works with any pipeline. The example app includes grunt using embark as a plugin, if you wish to add ES6 for instance then check https://www.npmjs.com/package/grunt-babel
|
||||
|
||||
### Meteor
|
||||
|
||||
Future versions will have better support for Meteor. For now see this [workaround](Releasing-with-Meteor).
|
||||
```embark meteor_demo```
|
Loading…
Reference in New Issue