Now Experience Notes
Jace's Blog
·
Mar 28, 2020
·
article
I was following along with Upside-down Andrew's posts and taking notes trying to get a now-expierence component to work.
Here's my notes;
- Checked version of node;
node --versionit's at 12.16.1 - Checked version of npm;
npm --versionit's at 6.13.4 (howver there's a upgrade to 6.14.4) - Checked version of now-cli;
now-cli --versionit's at 17.0.2 - Created folder/repository to render a joke from joke.jace.pro
- Created README.md file with aweseome contnet (thanks AAD)
- Staged my commit of the update to README.md
- Created Repository on Github https://github.com/jacebenson/now-joke
- Added SSH Repository link
- Ensured
git@github.com:jacebenson/now-joke.gitis returned whengit remote show origin
- If you don't have SSH configured with Git, you'll want to undo the git url and use https instead... really set up SSH
- Github's docs to do this
- If you don't have SSH configured with Git, you'll want to undo the git url and use https instead... really set up SSH
- Push your either by
git push -u origin remoteor with buttons in VS Code. You should see the file on github.com with it's contents - You need an empty to build the project, so lets delete that README.md.... you can do that by typing
rm README.md - Now we can create the project, I ran
now-cli project --name "@jace/now-joke" --description "It's what it says on the lid" - It created the scaffolding, you'll need to do a
npm installornpm ito install the package.json dependencies - We can finally Start rendering something.... run
now-cli develop --open - Edit the
./src/x-1234-your-component/index.jsline 7 to say something, your browser should update
View original source
https://jace.pro/post/2020-03-27-now-experience-notes/