Compare commits
2 Commits
031beba8ac
...
71ad6bbc2e
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
71ad6bbc2e | ||
|
|
aa36e00576 |
54
README.md
54
README.md
@@ -1,50 +1,20 @@
|
||||
# blog
|
||||
# apoena.dev
|
||||
|
||||
[îles]: https://github.com/ElMassimo/iles
|
||||
[configuration reference]: https://iles-docs.netlify.app/config
|
||||
Julien Calixte's blog, built with [îles](https://github.com/ElMassimo/iles).
|
||||
|
||||
This template should help get you started developing with [îles].
|
||||
Live at [apoena.dev](https://apoena.dev).
|
||||
|
||||
## Recommended IDE Setup
|
||||
## Requirements
|
||||
|
||||
[VSCode](https://code.visualstudio.com/) + [Volar](https://marketplace.visualstudio.com/items?itemName=johnsoncodehk.volar) (and disable Vetur).
|
||||
- Node.js >= 22
|
||||
- pnpm 10
|
||||
|
||||
## Type Support for `.vue` Imports in TS
|
||||
|
||||
Since TypeScript cannot handle type information for `.vue` imports, they are shimmed to be a generic `PageComponent` type by default. In most cases this is fine if you don't really care about component prop types outside of templates.
|
||||
|
||||
However, if you wish to get actual prop types in `.vue` imports (for example to get props validation when using manual `h(...)` calls), you can run `Volar: Switch TS Plugin on/off` from VSCode command palette.
|
||||
|
||||
## Customize configuration
|
||||
|
||||
See îles [Configuration Reference].
|
||||
|
||||
## Project Setup
|
||||
## Scripts
|
||||
|
||||
```sh
|
||||
npm install
|
||||
```
|
||||
|
||||
### Compile and Hot-Reload for Development
|
||||
|
||||
```sh
|
||||
npm run dev
|
||||
```
|
||||
|
||||
### Type-Check, Compile and Minify for Production
|
||||
|
||||
```sh
|
||||
npm run build
|
||||
```
|
||||
|
||||
### Run Unit Tests with [Cypress Component Testing](https://docs.cypress.io/guides/component-testing/introduction)
|
||||
|
||||
```sh
|
||||
npm run test:unit # or `npm run test:unit:ci` for headless testing
|
||||
```
|
||||
|
||||
### Run End-to-End Tests with [Cypress](https://www.cypress.io/)
|
||||
|
||||
```sh
|
||||
npm run test:e2e # or `npm run test:e2e:ci` for headless testing
|
||||
pnpm install # install dependencies
|
||||
pnpm dev # start the dev server
|
||||
pnpm build # build for production
|
||||
pnpm preview # preview the production build on port 5050
|
||||
pnpm typecheck # run vue-tsc
|
||||
```
|
||||
|
||||
@@ -8,7 +8,7 @@ export const getServiceEndpoint = async () => {
|
||||
if (serviceEndpoint) {
|
||||
return serviceEndpoint
|
||||
}
|
||||
const response = await fetch(`https://plc.wtf/${did}`)
|
||||
const response = await fetch(`https://plc.directory/${did}`)
|
||||
const {
|
||||
service: [{ serviceEndpoint: endpoint }],
|
||||
} = await response.json()
|
||||
|
||||
Reference in New Issue
Block a user