You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 2, 2025. It is now read-only.
Copy file name to clipboardExpand all lines: demo/README.md
+6-7Lines changed: 6 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,22 +8,21 @@ Run `npm start` for a dev server. Navigate to `http://localhost:4200/`. The app
8
8
9
9
## Build
10
10
11
-
Run `npm run build:prod` to build the project. The build artifacts will be stored in the `dist/` directory.
11
+
Run `npm run demo:build:prod` to build the project. The build artifacts will be stored in the `dist/` directory.
12
12
13
13
## Further help
14
14
15
15
To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI README](https://github.com/angular/angular-cli/blob/master/README.md).
16
16
17
17
## Using the current version of angular-datatables
18
18
19
-
If you need to check if the currenct version of angular-datatables still works with the demo, you can use [node-install-local](https://github.com/nicojs/node-install-local):
19
+
If you need to check if the currenct version of angular-datatables still works with the demo, simply follow the instructions below:
20
+
21
+
> We use [linklocal](https://npmjs.org/package/linklocal) to link library with demo app.
20
22
21
23
```bash
22
24
cd /path/to/angular-datatables
23
-
npm run build
24
-
cd demo/
25
-
rm -rf node-modules/angular-datatables
26
-
install-local ..
27
25
npm start
28
-
# Application will run on localhost:4200
26
+
# The application will first build library (under dist/lib),
27
+
# copy it to demo/node_modules and run the app on localhost:4200
0 commit comments