A modern web development starter kit combining the power of:
Clone the Repository:
git clone https://github.com/your-repo/tiny-11ty-tailwind-svelte-vite-starter.git
Install Dependencies:
npm install
Start Development Server:
npm run start
Build for Production:
npm run build
11ty: Contains all 11ty-related files.
11ty_config: Configuration for the 11ty-vite plugin.
eleventy.config.js: Main 11ty configuration.
package.json: Project dependencies and scripts.
11ty/_js/svelte/
, e.g., new-component.svelte
..liquid
file:<div id="svelte-new-component"></div>
svelte.js
to include the new component:const COMPONENT_MAP = {
// ...
"svelte-new-component": () => import("./svelte/new-component.svelte"),
};
stores.svelte.js
file to create shared state stores.<script>
import { persistentCount } from './stores.svelte.js';
</script>
<button on:click={persistentCount.increment}>
Count: {persistentCount.count}
</button>
Contributions are welcome! Please submit pull requests with detailed explanations of changes.
[Your License Here]