![]() The recommended way to start a new Vite application is the create-vite package, which WebStorm downloads and runs for you using npx. Make sure the JavaScript and TypeScript and Vite required plugins are enabled on the Settings | Plugins page, tab Installed, see Managing plugins for details. Make sure you have Node.js on your computer. To work with an existing Vite app, make sure your package.json lists Vite before running npm install. Therefore, either create an application with create-vite or install the vite package manually. WebStorm integration with Vite requires that the vite package should be installed in your project or globally. In projects that consist of multiple modules with different Vite configurations, WebStorm can automatically detect the relevant configuration file for each module and use the module resolution rules from it, see Specifying the Vite configuration file to use below. ![]() WebStorm supports tsconfig.json and jsconfig.json path mappings in Vue style tags and recognizes Vite aliases. The build command bundles your code with Rollup, which is pre-configured to output highly optimized static assets for production. The build server serves your source files over native ES modules. Vite consists of a dev server and a build command. WebStorm integrates with the Vite build tool that improves the frontend development experience.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |