routify.dev
routify.dev copied to clipboard
Starter Template Documentation
Just tried following ur doc using the Starter Template and had numerous issues.
Using node v16.
- After using init to generate project. npm install failed. There were dependency issues with the vite/plugin library. Searching npm i modified the package.json to use the most versions of current vite/plugin and vite libraty. This seemed to fix the dependency issue.
- Tried to run using $> npm run dev. Received error because of the: disableDependencyReinclusion: ['@roxi/routify'] option that was set in svelte.config.js. The message was not clear but did mention the option as part of the plugin in vite.config.js. I tried moving the setting to the vite.config.js as follows: plugins: [svelte( { disableDependencyReinclusion: ['@roxi/routify'] } )]. It does run now but i'm not sure about the config setting.
Took me 2 hours to get the Starter Template to work.
Can u verify that moving that setting to vit.config.js as i described about is correct?
thx ~Marvin Foster [email protected]