Once you've cloned the template and installed dependencies with npm install (or pnpm install or yarn), start a development server:
npm run dev
3) Steps
This sequence represents the ideal steps to initiate the development of a custom build using the Paid Post Kit, though the process can vary and doesn't necessarily have to follow a linear order.
, or visit the existent entry. Take note of its ID, visible in the URL or in the metadata page.
Sometimes the entry could be created by other people in the team, such as Audience Development. In case of doubt, doble check with them as this ID is used by other functions of the business.
Add the SCOOP_ID value and edit the SCOOP_ASSETS_BASE_URL with the same ID.
If the project uses Adobe Fonts, add the project ID after creating a new Adobe Fonts Web Project.
If your project uses Google Fonts, add the required reference in src/routes/layout.svelte
Edit the file src/project/data/content.yml to create, based on the layout requirements, the data structure you’ll be using in the page. Very often this implies splitting the editorial content in chunks of HTML/Markdown, extracting labels or quotes, etc.
If you wants to organise the data differently, add other yaml files in the data folder, import them in src/routes/layout.server.js and return them from the load function, to make them available in your page.
The data will be loaded and available in src/routes/layout.svelte and src/routes/page.svelte where you can start developing you page.
Remember to delete the src/routes/demo folder and its content. It’s an utility folder to draft and test components during the Kit development. We might remove it.
Add the styles shared by the whole page in the files imported by the Wrapper component.
Develop your custom components, import them in src/routes/page.svelte and compose your page layout!
Bundle your project running npm run build and upload the build.zip file created root folder in the interactive tab of the Scoop entry.