This repository is designed to help you get started with integrating Carbon into a Nuxt application. It showcases best practices for setting up a new Nuxt app with Carbon, providing a solid foundation for your project.
If you are looking for a plain Vue 3 example, checkout Hello carbon Vue3
If you are looking for a Carbon 11 with Vue, checkout Hello carbon 11 web components with Vue 3
@nuxtjs/i18n
. All user interface (UI) elements and the majority of the content have been translated.The carbon styles are imported as a pre-compiled css file. The fie is created by using sass on the command line to generate the css. See carbon-gray-90.scss for instructions on creating the css file.
Header with mobile navigation under "hamburger" menu
Home page
useAuth()
, getProviders
, and status
Characters page
Comics page
Events page
Page transitions
Server side
winston
Hey there, creative geniuses! Are you a UX designer who loves to experiment, ideate, and bring interfaces to life? Well, guess what? You're more than welcome to join the fun here!
This project is a showcase for Carbon components with Nuxt, so the only guideline is to highlight those amazing components in your designs. Whether you:
You're in the right place!
No suggestion is too wild, and no contribution is too small. Go open a pull request or just open an issue with a Figma link, let your imagination run wild with the Carbon components. We’re here for brainstorming, prototyping, and pixel-perfect designs (or not-so-perfect ones—we’re cool with that too).
nvm install 22
Make sure to install the dependencies:
A mock version of the comics endpoints is in mock-api.json. Load this in the Mockoon desktop app or start in the command line.
npm install -g @mockoon/cli mockoon-cli start --data ./local-dev/mock/mock-api.jsonSet up the authentication (local mock)
cd local-dev docker compose up
This will launch a local openid keycloak server and allow you to log in with admin/potato-history
Copy .env.example
to .env
Edit .env
and change any values for your system
Server should be running at http://localhost:4507
Log in with admin/potato-history
Build the application for production:
Locally preview production build:
Check out the deployment documentation for more information.
Set environment vars on the deployed systemMARVEL_APIKEY=Your Marvel api key from https://developer.marvel.com/ MARVEL_PRIVATE_KEY=Your Marvel secret key from https://developer.marvel.com/ MARVEL_URL=https://gateway.marvel.com/ AUTH_PROVIDER=ibmid or w3id or github or someother prrovider AUTH_ORIGIN=the auth url for your deployed site i.e. https://example.com/api/auth NUXT_AUTH_SECRET=set to a long string AUTH_CLIENT_ID=Login provider client id AUTH_CLIENT_SECRET=Login provider client secret
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4