@jambon-baguette/vue-cli-plugin-typescript
@coveo/vue-cli-plugin-typescript
The @coveo/vue-cli-plugin-typescript package contains the necessary components to set up a search page using Coveo Headless and Buefy with the Vue CLI.
If you want to create a new Coveo Headless-powered search page with the Vue.js web framework from scratch, it is simpler to use the coveo ui:create:vue command in the Coveo CLI. The Coveo CLI will handle a lot of complexity for you. Calling the @coveo/vue-cli-plugin-typescript package directly from the Angular CLI should rather be done to help you integrate a search page to an already existing Vue.js project.
Installation
To add a Coveo Headless-powered search page using Buefy to an existing TypeScript Vue.js project, execute the following steps:
- Run
vue add @coveo/vue-cli-plugin-typescript. - The root folder should contain a
.envfile. Replace all placeholder variables (<...>) by the proper information for your organization. Consult the example configuration file named.env.exampleas needed. For more involved configurations, you can modify the request parameters used in theserver/middlewares/searchToken.tsfile. - Run
npm start.
Contributing
Compiles and hot-reloads for development
npm start
Compiles and minifies for production
npm run build
Lints and fixes files
npm run lint
Customize configuration
Version History
| Version | Released | Vue | License |
|---|---|---|---|
| 1.28.12 | 3.2.30 | Apache-2.0 | |
| 1.28.11 | 3.2.30 | Apache-2.0 | |
| 1.28.10 | 3.2.30 | Apache-2.0 | |
| 1.28.9 | 3.2.30 | Apache-2.0 | |
| 1.28.8 | 3.2.30 | Apache-2.0 | |
| 1.28.7 | 3.2.30 | Apache-2.0 | |
| 1.28.6 | 3.2.30 | Apache-2.0 | |
| 1.28.0 | 3.2.30 | Apache-2.0 | |
| 1.27.0 | 3.2.30 | Apache-2.0 | |
| 1.26.0 | 3.2.30 | Apache-2.0 | |
| 1.25.0 | 3.2.30 | Apache-2.0 |