vite-plugin-html-inject
vite-plugin-html-inject copied to clipboard
Split your ViteJS index.html into smaller pieces
in this case i got a error like that static html component can't loade other html components? how to solve this
When loading a file that is inside a directory using a relative path, and that file also loads another file with relative path, the resolving of the later is done...
As we are running this plugin in `order: 'pre'`, so `%VITE_ENV_VARIABLES%` will not replace when function renderSnippets runs. In this case, we need to replace it manually. For example: ```...
Hey, the option to have default values for parameters would be really helpful. Thx for the work EDIT: Example ``` ``` And that src/some-button.html: ``` {=$label} ```
In the `InjectHTMLConfig` we have the `replace` field. This field currently only allows for undefined fields It would be awesome if we could define more than just this field. As...