This repository was live-designed with Vue Designer by following the free YouTube course "Headless WordPress Made Easy: 🏝 îles + Generative AI with Vue Designer", which is part of the "Learn With Vue Designer" series. Check it out here.
"fathimarecipes.com" is a simple MPA-SSG recipe blog where the data is fetched from a WordPress instance in a headless way. The JAMstack approach provides great flexibility in designing and presenting content to users. Only publicly accessible content, such as posts, site info, categories, and tags, is fetched.
This is a sample project created using:
Starter Template - Vue Designer îles Tailwind CSS - Quick start template (see next section for its Readme)
Final Output Demo - https://fathimarecipes.app/
A desktop visual editor for Vue apps supporting Mac, Windows, and Linux by Pinegrow. Take it for a free trial at Vue Designer!
It lets you visually design 🎨 your Vue single file components and boosts your productivity and creativity while building your component-based Vue apps.
It smartly integrates with your ⚡️ Vite based CLI and provides an amazing developer experience with its powerful visual controls and features.
Clean code 😃, No lock-in - You are in control of your projects and development workflow ❤️
Create a repo from this template on GitHub.
(or)
If you prefer to do it manually with the cleaner git history
npx giget@latest gh:pinegrow/pg-iles-tailwindcss my-iles-tailwindcss-app #project-name
cd my-iles-tailwindcss-app
npm install #or use pnpm
(or)
If you prefer a minimal template (a single empty home page) instead,
npx giget@latest gh:pinegrow/pg-iles-tailwindcss#minimal my-iles-tailwindcss-app #project-name
cd my-iles-tailwindcss-app
npm install #or use pnpm
Open your project in Vue Designer and follow the instructions displayed in the Config Panel (that should pop out automatically). Config Panel ⚙️ displays the key packages and the various links to their individual ecosystems and communities.
npm run dev # SPA during development
npm run build # MPA SSG (islands architecture)
Uncomment the rollup-plugin-visualizer
usage in your config file and execute the build
command. This command will generate stats.html
. Open stats.html
in your browser to analyze bundle sizes.
npm run build # open stats.html to analyze bundle sizes
npm run now # build & preview
npm run unlighthouse # Uses npx unlighthouse from https://unlighthouse.dev/ to run lighthouse on entire site (all pages)
You can deploy this repo as a site on your own to explore and experiment with, by clicking this button.
Check out the deployment documentation for more information.
i-mdi-home
.app.ts
(only during development).app.ts
, uncomment the top devtools related snippet to activate.<script setup>
SFC syntaxThis project allows JS, and strict mode is turned off. Update tsconfig.ts
as required.
{
"compilerOptions": {
// ...
"strict": false,
"allowJs": true
}
}