Gettings started
Run npm run dev
to start webpacking and serving to localhost:3005
Npm Scripts
dev
- Starts webpacking and starts serving the content on port3005
pack:prod
- Runs webpack in production modeserve:prod
- Starts the server in production mode (Don't forget to pack first)clean
- deletes files in the dist directory
HTTPS/HTTP2
The application serves up only http and expects you to use a reverse proxy for TLS.
For local testing of Http2 there is an included docker compose file and and HAProxy config.
For deployment, using HAProxy via the included config is also reccomended.
Things to edit for your own project
-
Customize
config/config.js
-
Add icons
-
Author, colors, twitter name in
config/meta.config.js
-
Customize the
./license
-
Run
./eject.sh
Notes
rel="canonical"
When you update the site to have more pages UPDATE THE REL CANONICAL.
URLS
In components use relative urls for images.
IE
I explicitly do not support IE.
Serving
Remember: there are section in /docker-compose.yml
and /haproxy.cfg
which need to be set for your environment. You won't be able to serve it they don't match either linux or mac.
Fonts
Preloading Fonts https://ashton.codes/preload-google-fonts-using-resource-hints/
Getting local copies of Google Fonts https://google-webfonts-helper.herokuapp.com
Todos
- Add blame link for IE section
Maybe Todos
- Add WebpackDevServerUtils.choosePort to projects
- Add
๐
Watch 1'unsafe-inline'1 scripts in csp: vuejs/vue-style-loader#33
โ๏ธ
Feedback
https://github.com/limeandcoconut
Cheers!
License
ISC, see license for details.