Skip to content

Invalid definition for content field. #1

@Kirpich634

Description

@Kirpich634

Replace Collection2 by aldeed:collection2-core.
Add in the dependency: session, bcrypt, aldeed:autoform and meteor npm i --save simpl-schema

Change the code from the collection example:


import SimpleSchema from 'simpl-schema';
SimpleSchema.extendOptions(['autoform']);

Schemas = {};

Posts = new Meteor.Collection('posts');

Schemas.Posts = new SimpleSchema({
  title: {
    type: String,
    max: 60
  },
  content: {
...

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions