This repo contains the code of our website frontend.
/store
, but not implemented)This way it doesn't clutter up your repo with large unmanageable files. But do know that it is easier to add later than undoing it later.
Install git-lfs on your computer and remove the #
in the project's .gitattributes
Setup Netlify LM by following these steps. (In short: netlify plugins:install netlify-lm-plugin
→ netlify lm:install
→ netlify login
→ netlify link
→ netlify lm:setup
→ commit the .lfsconfig
file.)
yarn install
localhost:8888
.yarn dev:n
yarn build
# And to serve that deployment...
npm run start
yarn generate
Copy and change the .env-file
cp .env-example .env
Change the value on these lines
static/admin/config.yml
— site_url
& logo_url
content/site/info.json
— sitename
, sitedescription
& sitelang
package.json
— name
, description
, author
& repository.url
pages/index.vue
— The start page of your new website!Change colors, favicon, content & content collections
assets/scss/_vars.scss
& tailwind.config.js
static/icon.png
to something new, and then match the new filename and source in nuxt.config.js
under pwa.icon
. Replace the preview.jpg as well./admin
, in development mode by double-clicking on a post or by hand in /content
static/admin/config.yml
Change font
nuxt.config.js
under head.link
. You can add a <link rel="stylesheet" href="https://github.com/an-nadaaa/nda-front/blob/master/font.css">
as link: [{ rel: 'stylesheet', href: 'font.css' }]
, like thistailwind.config.js
under theme.extend.fontFamily.sans
(or other). Like sans: ['Inter', ...defaultTheme.fontFamily.sans]
netlify.toml
, it will automatically post-processes your web page to use an optimal font loading strategy.This project was bootstrapped with
create-nuxt-app
. There are more detailed explanations of how everything works in the [Nuxt.js docs](https://nuxtjs.org§
TODO: migrate to Nuxt3