Skip to content

Commit

Permalink
Update README.md (#543)
Browse files Browse the repository at this point in the history
  • Loading branch information
ciceropablo authored and thheller committed Aug 14, 2019
1 parent 38d3366 commit 44301a4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@

Creating your project can be done quickly using the `npx create-cljs-project` utility. `npx` is part of `npm` and lets us run utility scripts quickly without worrying about installing them first. The installer will create a basic project scaffold and install the latest version of `shadow-cljs` in the project.

```text
```bash
$ npx create-cljs-project acme-app
npx: installed 1 in 5.887s
shadow-cljs - creating project: .../acme-app
Expand All @@ -52,7 +52,7 @@ Done.

The resulting project has the following structure

```
```bash
.
├── node_modules (omitted ...)
├── package.json
Expand Down Expand Up @@ -127,7 +127,7 @@ The compilation will create the `public/js/main.js` we configured above (`:main`

We also need a simple HTTP server to serve our HTML since modern Browsers all place a few restrictions on files loaded directly from disk which will lead to issues later. `shadow-cljs` provides such a server but you can use anything you like at this point. It only matters that the files from the `public` directory are served properly. To start the built-in web server just adjust the build config from above.

```
```clojure
{...
:dev-http {8080 "public"}
:builds
Expand Down

0 comments on commit 44301a4

Please sign in to comment.