Meteor, Semantic UI, and React

Hello, This is my first time using semantic ui and react in meteor js.

I follow this https://react.semantic-ui.com/introduction

i got error on my meteor client
ReferenceError: Rating is not defined

This is my code

import React, { Component } from 'react';


export default class Task extends Component {
    

    render() {

        return (
            <Rating rating={1} maxRating={5} />
        )
    }
}

please help solve this problem

please help me, if there any sample meteor - semantic ui - react.

You need to import the Semantic components

import { Rating } from "semantic-ui-react";

Here’s a nice template for Meteor + Semantic UI + React:

I have a fork which is updated to Meteor 1.6.1:

1 Like

wow great, is the router support server side routing?

nice thanks, really solve the problem
need to install

meteor npm install --save semantic-ui-react