Skip to content

Commit 4aa92a6

Browse files
authored
Update README.md
1 parent be7579d commit 4aa92a6

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

README.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,13 +25,17 @@ You can (and should) fork this repo to create your own boilerplate.
2525

2626
I've also created a fork of this boilerplate that integrates [TailwindCSS & Purgecss here](https://github.com/chasegiunta/craft-vue-tailwind)
2727

28-
## Build Setup
28+
## Setup
2929

3030
``` bash
3131
# create & install project
3232
composer create-project chasegiunta/craft-vue PATH -s RC
3333

3434
# run Craft's setup command
35+
./craft setup
36+
37+
# install the Asset Rev plugin
38+
./craft install/plugin assetrev
3539

3640
# install dependencies
3741
npm install # yarn
@@ -43,7 +47,7 @@ npm run dev # yarn dev
4347
npm run build # yarn build
4448
```
4549

46-
Only _your assets_ will be served from `localhost:8080` and referenced in the base template. You'll still load your site locally under your normal development domain (domain.test, etc.)
50+
During development, only _your assets_ will be served from `localhost:8080` and referenced in the base template. You'll still load your site locally under your normal development domain (domain.test, etc.). This will also cause a brief unstyled flash on page loads due to assets loading from javascript for development. This flash isn't present after build, on production.
4751

4852
For a detailed explanation on how things work, check out the [guide](http://vuejs-templates.github.io/webpack/) and [docs for vue-loader](http://vuejs.github.io/vue-loader).
4953

0 commit comments

Comments
 (0)