We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Even when https://github.com/FormidableLabs/spectacle-boilerplate seems to be a good starting point, it has a lot of code for a simple presentation.
I was able to make presentation/index.js from spectacle-boilerplate work with https://github.com/facebookincubator/create-react-app and now the presentation source code is much more compact and easy to follow.
presentation/index.js
spectacle-boilerplate
Currently there is problem when loading external css code, but it has been patched and maybe it will come with the next release.
Steps (when create-react-app gets updated):
create-react-app
npm install -g create-react-app create-react-app my-app cd my-app npm install --save normalize.css spectacle
spectacle-boilerplate/presentation/index.js
my-app/src/App.js
spectacle-boilerplate/assets/interactive.js
my-app/src/interactive.js
import Interactive from "../assets/interactive";
import Interactive from "./interactive";
spectacle-boilerplate/assets
my-app/assets
I had to remove raw-loader because it's not bundled by default
raw-loader
{/* <CodePane lang="jsx" source={require("raw!../assets/deck.example")} // :( margin="20px auto" /> */}
Run my-app with npm start.
my-app
npm start
The text was updated successfully, but these errors were encountered:
We are working on a CLI tool much like CRA, but that also includes presentation specific features like remote sync.
Sorry, something went wrong.
Any update on the progress of said CLI tool, @kenwheeler?
@jonasws expect it pretty soon. It will likely be based off of https://github.com/FormidableLabs/builder-init/
Now that create-react-app is going away (it's turning into a launcher), I opened an issue to remove the create-react-app option from the tutorial in the docs and consider moving to Next.js:
No branches or pull requests
Even when https://github.com/FormidableLabs/spectacle-boilerplate seems to be a good starting point, it has a lot of code for a simple presentation.
I was able to make
presentation/index.js
fromspectacle-boilerplate
work with https://github.com/facebookincubator/create-react-app and now the presentation source code is much more compact and easy to follow.Currently there is problem when loading external css code, but it has been patched and maybe it will come with the next release.
Steps (when
create-react-app
gets updated):npm install -g create-react-app create-react-app my-app cd my-app npm install --save normalize.css spectacle
spectacle-boilerplate/presentation/index.js
tomy-app/src/App.js
spectacle-boilerplate/assets/interactive.js
tomy-app/src/interactive.js
import Interactive from "../assets/interactive";
toimport Interactive from "./interactive";
inmy-app/src/App.js
.spectacle-boilerplate/assets
tomy-app/assets
.I had to remove
raw-loader
because it's not bundled by defaultRun
my-app
withnpm start
.The text was updated successfully, but these errors were encountered: