How to install/use ConanJs
Last updated
Was this helpful?
Last updated
Was this helpful?
We will see now how you can start using ConanJs on our end, we will use the code from our Hello Wow!
npm install conan-js-core
yarn add conan-js-core
https://unpkg.com/conan-js-core@1.0.0/dist/lib/main.min.js
You can use our Hello Wow as a starting point
If you want to start from scratch with create-react-app, this will get you the files from the Hello Wow! demo into a new create-react-app application with typescript.
npx create-react-app my-app --template typescript
cd my-app
yarn add conan-js-core
cd src
rm App.tsx App.test.tsx App.css
curl -o app.tsx https://raw.githubusercontent.com/conan-js/conan-js-examples/master/helloWow/src/app.tsx
curl -o index.tsx https://raw.githubusercontent.com/conan-js/conan-js-examples/master/helloWow/src/index.tsx
cd ..
yarn start