A personal website template that's not a pain in the ass to setup and use.
- You need to have
yarn
(recommended) ornpm
installed.
yarn
- Install and update dependencies.yarn dev
- Launch local web server with hot compiling. Ideal to work on the project easily.yarn build
- Build the website in production mode to thedist/
folder.yarn build-gz
- Builds a gzip compressed version of the built app in the dist/ folder.
npm install
- Install and update dependencies.npm run dev
- Launch local web server with hot compiling. Ideal to work on the project easily.npm run build
- Build the website in production mode to thedist/
folder.npm run build-gz
- Builds a gzip compressed version of the built app in the dist/ folder.
Note: To apply all of these changes you must rebuild the app.
Go to webpack.config.js
and change the publicPath
key inside of the output
part of the config
You can replace them at src/assets/icons/
.
You can replace it at src/assets/
. If the name or the extension is different to "avatar.svg", you need to modify it in src/config.js
and src/assets-imports.js
.
Change the <title> tag in src/index.html
.
Modify src/config.js
. You can add, remove or modify its contents.
Change it in src/config.js
.
Customize them in the src/assets/lang/
folder. Add a new lang file named by the IEC_15897 standard, paste contents from your source locale and translate it. To activate a language copy the contents from the source locale to src/asssets/lang.json
.
Add new icon paths with the desired ID in the src/assets/icons.svg
file.
Once everything is compiled and built the last step is to serve the contents of the dist/
folder as static files with your web server of choice and you're done!