parent
283cc37f74
commit
09e9548d25
|
@ -20,7 +20,7 @@ Next step, clone this repository and run:
|
||||||
npm install
|
npm install
|
||||||
```
|
```
|
||||||
|
|
||||||
This will take some time and will install all packages necessary to run Victor Hugo and it's tasks.
|
This will take some time and will install all packages necessary to run Victor Hugo and its tasks.
|
||||||
|
|
||||||
### Development
|
### Development
|
||||||
|
|
||||||
|
@ -82,7 +82,7 @@ https://gohugo.io/templates/functions/
|
||||||
For assets that are completely static and don't need to go through the asset pipeline,
|
For assets that are completely static and don't need to go through the asset pipeline,
|
||||||
use the `site/static` folder. Images, font-files, etc, all go there.
|
use the `site/static` folder. Images, font-files, etc, all go there.
|
||||||
|
|
||||||
Files in the static folder ends up in the web root. So a file called `site/static/favicon.ico`
|
Files in the static folder end up in the web root. So a file called `site/static/favicon.ico`
|
||||||
will end up being available as `/favicon.ico` and so on...
|
will end up being available as `/favicon.ico` and so on...
|
||||||
|
|
||||||
The `src/js/app.js` file is the entrypoint for webpack and will be built to `/dist/app.js`.
|
The `src/js/app.js` file is the entrypoint for webpack and will be built to `/dist/app.js`.
|
||||||
|
@ -90,7 +90,7 @@ The `src/js/app.js` file is the entrypoint for webpack and will be built to `/di
|
||||||
You can use **ES6** and use both relative imports or import libraries from npm.
|
You can use **ES6** and use both relative imports or import libraries from npm.
|
||||||
|
|
||||||
Any CSS file directly under the `src/css/` folder will get compiled with [PostCSS Next](http://cssnext.io/)
|
Any CSS file directly under the `src/css/` folder will get compiled with [PostCSS Next](http://cssnext.io/)
|
||||||
to `/dist/css/{filename}.css`. Import statements will be resolved as part of the build
|
to `/dist/css/{filename}.css`. Import statements will be resolved as part of the build.
|
||||||
|
|
||||||
## Environment variables
|
## Environment variables
|
||||||
|
|
||||||
|
|
Reference in New Issue