routify.dev icon indicating copy to clipboard operation
routify.dev copied to clipboard

Starter Template Documentation

Open marvfinsy opened this issue 2 years ago • 0 comments

Just tried following ur doc using the Starter Template and had numerous issues.

Using node v16.

  1. 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.
  2. 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]

marvfinsy avatar Aug 17 '22 05:08 marvfinsy