examples icon indicating copy to clipboard operation
examples copied to clipboard

Update tic-tac-toe to the latest version

Open StorytellerCZ opened this issue 3 years ago • 2 comments

Updated the tic-tac-toe example to the latest Meteor. Not sure who has originally deployed it as I was not able to do so in order to fix #31.

StorytellerCZ avatar Aug 25 '22 09:08 StorytellerCZ

hello there. Made it work :) https://tic-tac-toe-example.meteorapp.com/

changed main.jsx file like this:

import React from 'react';
import { Meteor } from 'meteor/meteor';
import { App } from '/imports/ui/App';
import * as ReactDOM from "react-dom";

Meteor.startup(() => {

  const root = document.getElementById('react-target')
  ReactDOM.render(<App />, root)

});

also, on deploy, I used this command: meteor deploy tic-tac-toe-example.meteorapp.com --mongo so that meteor cloud could create a mongo DB for me

Grubba27 avatar Aug 25 '22 14:08 Grubba27

@Grubba27 the question is who holds tic-tac-toe.meteorapp.com

StorytellerCZ avatar Sep 03 '22 12:09 StorytellerCZ

Updated. Guess all works! Can I merge this PR or is there something left ?

Grubba27 avatar Sep 05 '22 18:09 Grubba27

@Grubba27 ready to be merged

StorytellerCZ avatar Sep 06 '22 18:09 StorytellerCZ