From a001eaf18bedc6c95047a6decccd2f29faaeb0ad Mon Sep 17 00:00:00 2001 From: Chunpeng Huo Date: Fri, 12 Jul 2019 08:30:57 +1000 Subject: [PATCH] doc(validation): remove unneeded cli guide closes #438 --- current/en-us/7. plugins/3. validation.md | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/current/en-us/7. plugins/3. validation.md b/current/en-us/7. plugins/3. validation.md index 1d92d61..6b44754 100644 --- a/current/en-us/7. plugins/3. validation.md +++ b/current/en-us/7. plugins/3. validation.md @@ -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: