How to install/use ConanJs
We will see now how you can start using ConanJs on our end, we will use the code from our Hello Wow!

NPM

1
npm install conan-js-core
Copied!

YARN

1
yarn add conan-js-core
Copied!

Inline JS (CDN)

1
https://unpkg.com/[email protected]/dist/lib/main.min.js
Copied!

Code sandbox

You can use our Hello Wow as a starting point

Fork one of our examples

create-react-app + Hello Wow!

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.
1
npx create-react-app my-app --template typescript
2
cd my-app
3
yarn add conan-js-core
4
cd src
5
rm App.tsx App.test.tsx App.css
6
curl -o app.tsx https://raw.githubusercontent.com/conan-js/conan-js-examples/master/helloWow/src/app.tsx
7
curl -o index.tsx https://raw.githubusercontent.com/conan-js/conan-js-examples/master/helloWow/src/index.tsx
8
cd ..
9
yarn start
Copied!
Last modified 1yr ago