Skip to content
This repository was archived by the owner on Oct 30, 2018. It is now read-only.

Commit 3d245db

Browse files
authored
Syntax highlighting added ✨
1 parent d5ef71b commit 3d245db

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

README.md

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,15 @@ You have to install [Laravel's Elixir](http://laravel.com/docs/master/elixir)(Ve
1010

1111
## Upgrade
1212
The signature was changed to the following:
13-
```
13+
14+
```js
1415
mix.typescript(src, output, options);
1516
```
1617

1718
## Installation
1819
Install with Node.js
19-
```
20+
21+
```js
2022
npm install elixir-typescript --save
2123
```
2224

@@ -25,7 +27,7 @@ A simple [gulp-typescript](https://github.com/ivogabe/gulp-typescript) wrapper i
2527

2628
Add it to your Elixir-enhanced Gulpfile, like so:
2729

28-
```
30+
```js
2931
var elixir = require('laravel-elixir');
3032

3133
// import the dependency
@@ -40,13 +42,13 @@ This will compile the `app.ts` file in `resources/assets/typescript/` and concat
4042

4143
If you'd like to output to a different directory than the default `public/js`, then you may override this by provide a path for `output` as well.
4244

43-
```
45+
```js
4446
mix.typescript('app.js', 'public/js/foo/bar.js');
4547
```
4648

4749
Further you could insert multiple files like
4850

49-
```
51+
```js
5052
elixir(function(mix) {
5153
mix.typescript(['module1.ts', 'module2.ts']);
5254
});

0 commit comments

Comments
 (0)