Skip to content

Commit

Permalink
Merge pull request aurelia#439 from 3cp/cleanup-cli-guide
Browse files Browse the repository at this point in the history
doc(validation): remove unneeded cli guide
  • Loading branch information
EisenbergEffect authored Jul 11, 2019
2 parents 8c50fe5 + a001eaf commit 06e9420
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions current/en-us/7. plugins/3. validation.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,18 +10,6 @@ This article covers the basics of validation with Aurelia's validation plugin. Y

To get started you'll need to install `aurelia-validation` using `jspm install aurelia-validation` or `npm install aurelia-validation --save`. Afterwards, add `.plugin(PLATFORM.moduleName('aurelia-validation'))` to the configuration in your `main.js` to ensure the plugin is loaded at application startup.

If you're using the `aurelia-cli`, add the following configuration to your `aurelia.json` after you've installed the package with npm.

```JSON aurelia.json
{
"name": "aurelia-validation",
"path": "../node_modules/aurelia-validation/dist/amd",
"main": "aurelia-validation"
}
```

If you're not sure where to put this, search your `aurelia.json` for *aurelia-templating-resources* and put it underneath.

## Defining Rules

Aurelia Validation's standard rule engine uses a fluent syntax to define a set of rules. There are five parts to the syntax:
Expand Down

0 comments on commit 06e9420

Please sign in to comment.